Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.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.001829/0.001829, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.002378/0.002378, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.482/1.482, allocations: 230.2 MB / 254.5 MB, free: 15.42 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.2328/0.2328, allocations: 46.9 MB / 357.4 MB, free: 10.52 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.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002208/0.002208, allocations: 75.97 kB / 0.4913 GB, free: 26.8 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1522, allocations: 65.98 MB / 0.5558 GB, free: 9.031 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003551/0.1558, allocations: 1.736 MB / 0.5575 GB, free: 7.277 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001925/0.1577, allocations: 1.026 MB / 0.5585 GB, free: 6.246 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.1578, allocations: 4 kB / 0.5585 GB, free: 6.242 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003038/0.1581, allocations: 43.7 kB / 0.5585 GB, free: 6.199 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000391/0.1585, allocations: 99.53 kB / 0.5586 GB, free: 6.102 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.1588, allocations: 79.67 kB / 0.5587 GB, free: 6.023 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002224/0.159, allocations: 107.7 kB / 0.5588 GB, free: 5.918 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.1591, allocations: 8.281 kB / 0.5588 GB, free: 5.91 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.1593, allocations: 43.78 kB / 0.5588 GB, free: 5.867 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.1594, allocations: 35.78 kB / 0.5589 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.1594, allocations: 4 kB / 0.5589 GB, free: 5.828 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.1596, allocations: 39.98 kB / 0.5589 GB, free: 5.789 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.769e-05/0.1596, allocations: 27.86 kB / 0.5589 GB, free: 5.762 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.949e-05/0.1597, allocations: 39.72 kB / 0.559 GB, free: 5.723 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002811/0.16, allocations: 115.5 kB / 0.5591 GB, free: 5.609 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.16, allocations: 4 kB / 0.5591 GB, free: 5.605 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.16, allocations: 0 / 0.5591 GB, free: 5.605 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.16, allocations: 0 / 0.5591 GB, free: 5.605 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006913/0.1607, allocations: 433.5 kB / 0.5595 GB, free: 5.137 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.1607, allocations: 8.031 kB / 0.5595 GB, free: 5.129 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.339e-05/0.1608, allocations: 38.69 kB / 0.5595 GB, free: 5.082 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.043e-05/0.1608, allocations: 16.89 kB / 0.5596 GB, free: 5.066 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003704/0.1612, allocations: 212.8 kB / 0.5598 GB, free: 4.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.1612, allocations: 384 / 0.5598 GB, free: 4.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.1612, allocations: 8.375 kB / 0.5598 GB, free: 4.812 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.1614, allocations: 57.8 kB / 0.5598 GB, free: 4.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.1614, allocations: 4 kB / 0.5598 GB, free: 4.746 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.1614, allocations: 0 / 0.5598 GB, free: 4.746 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1614, allocations: 0 / 0.5598 GB, free: 4.746 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.708e-05/0.1615, allocations: 19.98 kB / 0.5599 GB, free: 4.727 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004532/0.162, allocations: 288.8 kB / 0.5601 GB, free: 4.395 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.1622, allocations: 62.67 kB / 0.5602 GB, free: 4.324 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.949e-05/0.1622, allocations: 20.84 kB / 0.5602 GB, free: 4.301 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.1622, allocations: 0 / 0.5602 GB, free: 4.301 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001768/0.1624, allocations: 67.31 kB / 0.5603 GB, free: 4.223 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.1624, allocations: 0 / 0.5603 GB, free: 4.223 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006411/0.1631, allocations: 185.3 kB / 0.5604 GB, free: 4.035 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.024e-05/0.1631, allocations: 55.34 kB / 0.5605 GB, free: 3.969 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002335/0.1634, allocations: 186.4 kB / 0.5607 GB, free: 3.777 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.1634, allocations: 33.7 kB / 0.5607 GB, free: 3.738 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.1635, allocations: 100.1 kB / 0.5608 GB, free: 3.637 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.911e-05/0.1635, allocations: 23.8 kB / 0.5608 GB, free: 3.613 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-05/0.1636, allocations: 25.7 kB / 0.5609 GB, free: 3.582 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.1638, allocations: 330.8 kB / 0.5612 GB, free: 3.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.007e-05/0.1638, allocations: 16 kB / 0.5612 GB, free: 3.234 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.89e-05/0.1639, allocations: 37.7 kB / 0.5612 GB, free: 3.191 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.1641, allocations: 65.7 kB / 0.5613 GB, free: 3.121 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1641, allocations: 0 / 0.5613 GB, free: 3.121 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002317/0.1643, allocations: 101.6 kB / 0.5614 GB, free: 3.016 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.1643, allocations: 9.75 kB / 0.5614 GB, free: 3.008 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.1643, allocations: 3.984 kB / 0.5614 GB, free: 3.004 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.1643, allocations: 0 / 0.5614 GB, free: 3.004 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.1644, allocations: 23.94 kB / 0.5614 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.1645, allocations: 0 / 0.5614 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.629e-05/0.1645, allocations: 384 / 0.5614 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.1645, allocations: 4 kB / 0.5614 GB, free: 2.977 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001237/0.1646, allocations: 130 kB / 0.5615 GB, free: 2.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.1647, allocations: 15.91 kB / 0.5616 GB, free: 2.824 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.823e-05/0.1647, allocations: 29.33 kB / 0.5616 GB, free: 2.789 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1647, allocations: 0 / 0.5616 GB, free: 2.789 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.1647, allocations: 4 kB / 0.5616 GB, free: 2.785 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1647, allocations: 0 / 0.5616 GB, free: 2.785 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005097/0.1652, allocations: 395.2 kB / 0.562 GB, free: 2.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.1653, allocations: 4 kB / 0.562 GB, free: 2.336 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.325e-05/0.1653, allocations: 7.984 kB / 0.562 GB, free: 2.328 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1653, allocations: 4 kB / 0.562 GB, free: 2.324 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.1653, allocations: 0 / 0.562 GB, free: 2.324 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.1653, allocations: 7.969 kB / 0.562 GB, free: 2.316 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.1653, allocations: 7.938 kB / 0.562 GB, free: 2.309 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.1656, allocations: 196.3 kB / 0.5622 GB, free: 2.098 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.59e-05/0.1656, allocations: 85.02 kB / 0.5623 GB, free: 1.996 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.1657, allocations: 7.984 kB / 0.5623 GB, free: 1.988 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.353e-05/0.1657, allocations: 7.938 kB / 0.5623 GB, free: 1.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.1658, allocations: 8 kB / 0.5623 GB, free: 1.973 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.1658, allocations: 11.92 kB / 0.5623 GB, free: 1.961 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001458/0.1659, allocations: 145.5 kB / 0.5624 GB, free: 1.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1659, allocations: 0 / 0.5624 GB, free: 1.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002723/0.1662, allocations: 23.98 kB / 0.5625 GB, free: 1.797 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002443/0.1687, allocations: 1.093 MB / 0.5635 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002295/0.1689, allocations: 59.84 kB / 0.5636 GB, free: 0.793 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1689, allocations: 4.062 kB / 0.5636 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.721e-05/0.169, allocations: 27.98 kB / 0.5636 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.1693, allocations: 23.36 kB / 0.5636 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/0.1715, allocations: 1.658 MB / 0.5653 GB, free: 14.98 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.1718, allocations: 0.7118 MB / 0.566 GB, free: 14.24 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.307e-05/0.1719, allocations: 17.17 kB / 0.566 GB, free: 14.23 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.842e-05/0.172, allocations: 35.42 kB / 0.566 GB, free: 14.19 MB / 430.1 MB Notification: Performance of SimCode: time 3.81e-07/0.172, allocations: 0 / 0.566 GB, free: 14.19 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02848/0.2004, allocations: 3.487 MB / 0.5694 GB, free: 10.76 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.185/8.385, allocations: 12.25 kB / 0.5694 GB, free: 10.76 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test31_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.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.447392761707306]