Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.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.001387/0.001387, 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.001398/0.001398, 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.479/1.479, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2335/0.2335, allocations: 46.9 MB / 357.4 MB, free: 10.47 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.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002237/0.002237, allocations: 83.86 kB / 0.4913 GB, free: 8.246 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1482, allocations: 65.99 MB / 0.5558 GB, free: 6.125 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.003528/0.1517, allocations: 1.731 MB / 0.5575 GB, free: 4.375 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.1536, allocations: 1.042 MB / 0.5585 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.807e-05/0.1536, allocations: 0 / 0.5585 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002972/0.1539, allocations: 43.77 kB / 0.5585 GB, free: 3.285 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003125/0.1542, allocations: 91.59 kB / 0.5586 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/0.1545, allocations: 83.66 kB / 0.5587 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.1546, allocations: 99.69 kB / 0.5588 GB, free: 3.016 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.1547, allocations: 12 kB / 0.5588 GB, free: 3.004 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.499e-05/0.1548, allocations: 47.77 kB / 0.5588 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.163e-05/0.1549, allocations: 35.8 kB / 0.5589 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.1549, allocations: 4 kB / 0.5589 GB, free: 2.918 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.155, allocations: 43.98 kB / 0.5589 GB, free: 2.875 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.071e-05/0.1551, allocations: 23.91 kB / 0.5589 GB, free: 2.852 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.931e-05/0.1552, allocations: 39.73 kB / 0.559 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002366/0.1554, allocations: 115.4 kB / 0.5591 GB, free: 2.699 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1554, allocations: 0 / 0.5591 GB, free: 2.699 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1554, allocations: 4 kB / 0.5591 GB, free: 2.695 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.1554, allocations: 0 / 0.5591 GB, free: 2.695 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.0006808/0.1561, allocations: 426.6 kB / 0.5595 GB, free: 2.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.1561, allocations: 12.03 kB / 0.5595 GB, free: 2.219 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.372e-05/0.1562, allocations: 34.69 kB / 0.5595 GB, free: 2.176 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.454e-05/0.1562, allocations: 8.891 kB / 0.5596 GB, free: 2.168 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000349/0.1566, allocations: 216.8 kB / 0.5598 GB, free: 1.918 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.1566, allocations: 384 / 0.5598 GB, free: 1.918 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.1566, allocations: 4.375 kB / 0.5598 GB, free: 1.914 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.1568, allocations: 57.8 kB / 0.5598 GB, free: 1.852 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.1568, allocations: 0 / 0.5598 GB, free: 1.852 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.1568, allocations: 4 kB / 0.5598 GB, free: 1.848 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.1568, allocations: 7.984 kB / 0.5598 GB, free: 1.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.463e-05/0.1569, allocations: 23.92 kB / 0.5599 GB, free: 1.816 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004301/0.1573, allocations: 292.8 kB / 0.5601 GB, free: 1.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.1575, allocations: 46.69 kB / 0.5602 GB, free: 1.426 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.138e-05/0.1576, allocations: 28.78 kB / 0.5602 GB, free: 1.395 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.1576, allocations: 0 / 0.5602 GB, free: 1.395 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001829/0.1578, allocations: 75.33 kB / 0.5603 GB, free: 1.309 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.1578, allocations: 0 / 0.5603 GB, free: 1.309 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005619/0.1583, allocations: 177.3 kB / 0.5605 GB, free: 1.129 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.255e-05/0.1584, allocations: 51.41 kB / 0.5605 GB, free: 1.066 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.1586, allocations: 194.4 kB / 0.5607 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/0.1586, allocations: 29.7 kB / 0.5607 GB, free: 0.832 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.859e-05/0.1587, allocations: 100.1 kB / 0.5608 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.815e-05/0.1588, allocations: 27.78 kB / 0.5608 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.163e-05/0.1588, allocations: 25.7 kB / 0.5609 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.159, allocations: 326.8 kB / 0.5612 GB, free: 352 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.992e-05/0.159, allocations: 20 kB / 0.5612 GB, free: 332 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.844e-05/0.1591, allocations: 33.7 kB / 0.5612 GB, free: 292 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.1592, allocations: 69.64 kB / 0.5613 GB, free: 216 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1592, allocations: 0 / 0.5613 GB, free: 216 kB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001996/0.1594, allocations: 101.5 kB / 0.5614 GB, free: 108 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.1594, allocations: 4 kB / 0.5614 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1594, allocations: 4 kB / 0.5614 GB, free: 100 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.1595, allocations: 0 / 0.5614 GB, free: 100 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.337e-05/0.1596, allocations: 12 kB / 0.5614 GB, free: 88 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.1596, allocations: 4.031 kB / 0.5614 GB, free: 84 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.855e-05/0.1596, allocations: 11.98 kB / 0.5614 GB, free: 72 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.1596, allocations: 4 kB / 0.5614 GB, free: 68 kB / 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.0001327/0.1597, allocations: 123.2 kB / 0.5615 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.1598, allocations: 11.91 kB / 0.5616 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.723e-05/0.1598, allocations: 29.33 kB / 0.5616 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.1598, allocations: 0 / 0.5616 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1598, allocations: 0 / 0.5616 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1598, allocations: 0 / 0.5616 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005065/0.1604, allocations: 403.4 kB / 0.562 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.1604, allocations: 0 / 0.562 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.916e-05/0.1604, allocations: 11.94 kB / 0.562 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1604, allocations: 0 / 0.562 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.1604, allocations: 4 kB / 0.562 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.1604, allocations: 7.953 kB / 0.562 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.1604, allocations: 3.984 kB / 0.562 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002658/0.1607, allocations: 200.4 kB / 0.5622 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.558e-05/0.1608, allocations: 93.38 kB / 0.5623 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.1608, allocations: 0 / 0.5623 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.461e-05/0.1609, allocations: 11.94 kB / 0.5623 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.1609, allocations: 11.98 kB / 0.5623 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.1609, allocations: 7.938 kB / 0.5623 GB, free: 15.05 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001438/0.1611, allocations: 148.2 kB / 0.5624 GB, free: 14.91 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1611, allocations: 4 kB / 0.5624 GB, free: 14.91 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000259/0.1613, allocations: 23.94 kB / 0.5625 GB, free: 14.88 MB / 430.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.002197/0.1635, allocations: 1.081 MB / 0.5635 GB, free: 13.95 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002152/0.1637, allocations: 59.84 kB / 0.5636 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1637, allocations: 3.938 kB / 0.5636 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.012e-05/0.1638, allocations: 31.92 kB / 0.5636 GB, free: 13.86 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.1642, allocations: 22.92 kB / 0.5636 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002065/0.1662, allocations: 1.67 MB / 0.5653 GB, free: 12.07 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/0.1666, allocations: 0.7002 MB / 0.566 GB, free: 11.34 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.393e-05/0.1667, allocations: 28.84 kB / 0.566 GB, free: 11.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.835e-05/0.1667, allocations: 35.42 kB / 0.566 GB, free: 11.28 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.1667, allocations: 0 / 0.566 GB, free: 11.28 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02748/0.1942, allocations: 3.482 MB / 0.5694 GB, free: 7.855 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.998/8.192, allocations: 5.344 kB / 0.5694 GB, free: 7.855 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test33_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.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.202067159116268]