Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001238/0.001238, allocations: 118.7 kB / 18.49 MB, free: 4.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00141/0.00141, allocations: 212.7 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 230.4 MB / 254.7 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2637/0.2637, allocations: 46.92 MB / 357.7 MB, free: 10.16 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002221/0.002221, allocations: 79.89 kB / 0.4918 GB, free: 7.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1389, allocations: 66.05 MB / 0.5563 GB, free: 5.402 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.00336/0.1423, allocations: 1.931 MB / 0.5581 GB, free: 3.453 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002077/0.1444, allocations: 1.136 MB / 0.5592 GB, free: 2.312 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.943e-05/0.1445, allocations: 3.938 kB / 0.5593 GB, free: 2.309 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004528/0.1449, allocations: 167.5 kB / 0.5594 GB, free: 2.145 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004447/0.1454, allocations: 179.3 kB / 0.5596 GB, free: 1.969 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000286/0.1457, allocations: 119.6 kB / 0.5597 GB, free: 1.852 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003255/0.146, allocations: 247.2 kB / 0.5599 GB, free: 1.609 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.1461, allocations: 21.69 kB / 0.56 GB, free: 1.586 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001677/0.1463, allocations: 119.5 kB / 0.5601 GB, free: 1.469 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000198/0.1465, allocations: 143.5 kB / 0.5602 GB, free: 1.328 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.1465, allocations: 8 kB / 0.5602 GB, free: 1.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.1466, allocations: 67.92 kB / 0.5603 GB, free: 1.254 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.008e-05/0.1467, allocations: 51.81 kB / 0.5603 GB, free: 1.203 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.374e-05/0.1468, allocations: 79.38 kB / 0.5604 GB, free: 1.125 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003148/0.1471, allocations: 234.9 kB / 0.5606 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1471, allocations: 4 kB / 0.5606 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1471, allocations: 0 / 0.5606 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.1471, allocations: 0 / 0.5606 GB, free: 0.8906 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007572/0.1479, allocations: 0.5446 MB / 0.5612 GB, free: 304 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.1479, allocations: 8.031 kB / 0.5612 GB, free: 296 kB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.69e-05/0.1479, allocations: 8.125 kB / 0.5612 GB, free: 288 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.565e-05/0.148, allocations: 34.75 kB / 0.5612 GB, free: 244 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.962e-05/0.148, allocations: 32.75 kB / 0.5612 GB, free: 212 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004143/0.1485, allocations: 291.6 kB / 0.5615 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.014e-05/0.1485, allocations: 4.375 kB / 0.5615 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.8e-05/0.1485, allocations: 8.375 kB / 0.5615 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/0.1488, allocations: 111.3 kB / 0.5616 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.1488, allocations: 4 kB / 0.5616 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.1488, allocations: 3.984 kB / 0.5616 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.1488, allocations: 0 / 0.5616 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.149, allocations: 51.91 kB / 0.5617 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006106/0.1496, allocations: 468.8 kB / 0.5621 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004099/0.15, allocations: 117.2 kB / 0.5623 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.1501, allocations: 41.81 kB / 0.5623 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.1501, allocations: 4 kB / 0.5623 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002511/0.1504, allocations: 123 kB / 0.5624 GB, free: 14.86 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.713e-06/0.1504, allocations: 4 kB / 0.5624 GB, free: 14.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.00136/0.1517, allocations: 497.6 kB / 0.5629 GB, free: 14.36 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.302e-05/0.1518, allocations: 77.11 kB / 0.563 GB, free: 14.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004176/0.1522, allocations: 375.3 kB / 0.5633 GB, free: 13.89 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.1522, allocations: 33.64 kB / 0.5634 GB, free: 13.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.1524, allocations: 144.5 kB / 0.5635 GB, free: 13.71 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.621e-05/0.1524, allocations: 83.36 kB / 0.5636 GB, free: 13.62 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.022e-05/0.1525, allocations: 45.7 kB / 0.5636 GB, free: 13.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.1527, allocations: 338.8 kB / 0.5639 GB, free: 13.23 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.1528, allocations: 55.97 kB / 0.564 GB, free: 13.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.153, allocations: 95.34 kB / 0.5641 GB, free: 13.07 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002883/0.1533, allocations: 155.3 kB / 0.5642 GB, free: 12.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1533, allocations: 0 / 0.5642 GB, free: 12.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004118/0.1537, allocations: 233.6 kB / 0.5645 GB, free: 12.68 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.1537, allocations: 7.938 kB / 0.5645 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.1537, allocations: 4 kB / 0.5645 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.1537, allocations: 3.938 kB / 0.5645 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.1539, allocations: 55.97 kB / 0.5645 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1539, allocations: 240 / 0.5645 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.899e-05/0.1539, allocations: 8 kB / 0.5645 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.154, allocations: 11.98 kB / 0.5645 GB, free: 12.59 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001641/0.1541, allocations: 161.7 kB / 0.5647 GB, free: 12.42 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.206e-05/0.1542, allocations: 35.75 kB / 0.5647 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.228e-05/0.1543, allocations: 33.83 kB / 0.5648 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.1543, allocations: 4 kB / 0.5648 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1543, allocations: 0 / 0.5648 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1543, allocations: 7.938 kB / 0.5648 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009774/0.1552, allocations: 0.7233 MB / 0.5655 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.1552, allocations: 0 / 0.5655 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.182e-05/0.1553, allocations: 27.98 kB / 0.5655 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.553e-06/0.1553, allocations: 8.125 kB / 0.5655 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.1554, allocations: 8 kB / 0.5655 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.82e-06/0.1554, allocations: 7.938 kB / 0.5655 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1554, allocations: 0 / 0.5655 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005621/0.1559, allocations: 417.9 kB / 0.5659 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.425e-05/0.156, allocations: 104.9 kB / 0.566 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.886e-05/0.156, allocations: 8 kB / 0.566 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.1562, allocations: 7.984 kB / 0.566 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.326e-05/0.1563, allocations: 19.92 kB / 0.5661 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.279e-05/0.1563, allocations: 19.98 kB / 0.5661 GB, free: 10.88 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000292/0.1566, allocations: 277.9 kB / 0.5663 GB, free: 10.61 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1566, allocations: 0 / 0.5663 GB, free: 10.61 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003528/0.1569, allocations: 43.94 kB / 0.5664 GB, free: 10.57 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002656/0.1596, allocations: 1.368 MB / 0.5677 GB, free: 9.348 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003544/0.1599, allocations: 147.8 kB / 0.5679 GB, free: 9.203 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1599, allocations: 0 / 0.5679 GB, free: 9.203 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001637/0.1601, allocations: 76.22 kB / 0.5679 GB, free: 9.129 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000543/0.1607, allocations: 52.41 kB / 0.568 GB, free: 9.078 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003288/0.1639, allocations: 2.726 MB / 0.5706 GB, free: 6.23 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000442/0.1644, allocations: 0.7635 MB / 0.5714 GB, free: 5.441 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001162/0.1645, allocations: 45.91 kB / 0.5714 GB, free: 5.395 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.1646, allocations: 87.41 kB / 0.5715 GB, free: 5.309 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1646, allocations: 0 / 0.5715 GB, free: 5.309 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02231/0.187, allocations: 6.172 MB / 0.5775 GB, free: 15.21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.33/8.517, allocations: 11.06 kB / 0.5776 GB, free: 15.2 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.707024757983163]