Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001868/0.001868, allocations: 119 kB / 18.5 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002049/0.002049, allocations: 194.9 kB / 21.44 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 225.6 MB / 249.8 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2167/0.2167, allocations: 44.92 MB / 349.6 MB, free: 1.742 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002667/0.002667, allocations: 62.06 kB / 491.9 MB, free: 30.12 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1516, allocations: 64.27 MB / 0.5431 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.004692/0.1563, allocations: 1.703 MB / 0.5448 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002536/0.1588, allocations: 0.8963 MB / 0.5456 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.371e-05/0.1589, allocations: 4 kB / 0.5456 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003706/0.1593, allocations: 43.75 kB / 0.5457 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003336/0.1596, allocations: 59.75 kB / 0.5457 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004927/0.1601, allocations: 107.6 kB / 0.5458 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002471/0.1604, allocations: 99.7 kB / 0.5459 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.1605, allocations: 8.5 kB / 0.5459 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.1606, allocations: 43.78 kB / 0.546 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.336e-05/0.1607, allocations: 27.86 kB / 0.546 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.1607, allocations: 4 kB / 0.546 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001427/0.1609, allocations: 47.97 kB / 0.5461 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.743e-05/0.1609, allocations: 31.8 kB / 0.5461 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.594e-05/0.161, allocations: 35.73 kB / 0.5461 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002979/0.1613, allocations: 119.5 kB / 0.5462 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1613, allocations: 0 / 0.5462 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1613, allocations: 4 kB / 0.5462 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.1613, allocations: 4 kB / 0.5462 GB, free: 0.7969 MB / 398.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.0007694/0.1621, allocations: 430.6 kB / 0.5467 GB, free: 336 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.1622, allocations: 8.031 kB / 0.5467 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.625e-05/0.1622, allocations: 30.75 kB / 0.5467 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.225e-05/0.1623, allocations: 12.89 kB / 0.5467 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004495/0.1627, allocations: 224 kB / 0.5469 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.1627, allocations: 384 / 0.5469 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.146e-05/0.1628, allocations: 7.938 kB / 0.5469 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002431/0.163, allocations: 57.67 kB / 0.547 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.163, allocations: 0 / 0.547 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.163, allocations: 3.984 kB / 0.547 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.163, allocations: 0 / 0.547 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.1632, allocations: 19.98 kB / 0.547 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005508/0.1637, allocations: 296.8 kB / 0.5473 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002546/0.164, allocations: 50.69 kB / 0.5473 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.665e-05/0.164, allocations: 20.84 kB / 0.5474 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.935e-05/0.1641, allocations: 3.984 kB / 0.5474 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002166/0.1643, allocations: 75.27 kB / 0.5474 GB, free: 15.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.984e-06/0.1643, allocations: 0 / 0.5474 GB, free: 15.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007487/0.165, allocations: 177.6 kB / 0.5476 GB, free: 15.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.1651, allocations: 63.34 kB / 0.5477 GB, free: 15.15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003721/0.1655, allocations: 222.6 kB / 0.5479 GB, free: 14.92 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.1655, allocations: 29.7 kB / 0.5479 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.579e-05/0.1656, allocations: 108.1 kB / 0.548 GB, free: 14.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.479e-05/0.1656, allocations: 27.73 kB / 0.548 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-05/0.1657, allocations: 21.7 kB / 0.5481 GB, free: 14.72 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002006/0.1659, allocations: 326.8 kB / 0.5484 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.799e-05/0.166, allocations: 23.98 kB / 0.5484 GB, free: 14.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.1661, allocations: 37.83 kB / 0.5484 GB, free: 14.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.1663, allocations: 61.66 kB / 0.5485 GB, free: 14.26 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1663, allocations: 0 / 0.5485 GB, free: 14.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002025/0.1665, allocations: 105.6 kB / 0.5486 GB, free: 14.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.1665, allocations: 4 kB / 0.5486 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1665, allocations: 0 / 0.5486 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.1665, allocations: 4.031 kB / 0.5486 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.673e-05/0.1666, allocations: 19.94 kB / 0.5486 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.1666, allocations: 3.984 kB / 0.5486 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.551e-05/0.1667, allocations: 3.938 kB / 0.5486 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.1667, allocations: 4 kB / 0.5486 GB, free: 14.11 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.0001159/0.1668, allocations: 130.9 kB / 0.5487 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.1668, allocations: 15.91 kB / 0.5488 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.865e-05/0.1669, allocations: 13.41 kB / 0.5488 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.873e-05/0.1669, allocations: 8 kB / 0.5488 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1669, allocations: 0 / 0.5488 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.1669, allocations: 7.922 kB / 0.5488 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005023/0.1674, allocations: 391.3 kB / 0.5492 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1674, allocations: 0 / 0.5492 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.211e-05/0.1674, allocations: 8 kB / 0.5492 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.1675, allocations: 3.938 kB / 0.5492 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.1675, allocations: 8 kB / 0.5492 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.1675, allocations: 3.984 kB / 0.5492 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.1675, allocations: 7.969 kB / 0.5492 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.1677, allocations: 200.3 kB / 0.5494 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.517e-05/0.1678, allocations: 85.25 kB / 0.5495 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.729e-05/0.1678, allocations: 11.94 kB / 0.5495 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.727e-05/0.1679, allocations: 3.938 kB / 0.5495 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.1679, allocations: 11.98 kB / 0.5495 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.1679, allocations: 7.938 kB / 0.5495 GB, free: 13.1 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001598/0.1681, allocations: 171.2 kB / 0.5497 GB, free: 12.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1681, allocations: 0 / 0.5497 GB, free: 12.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.1684, allocations: 27.94 kB / 0.5497 GB, free: 12.9 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.002139/0.1705, allocations: 1.1 MB / 0.5508 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001962/0.1707, allocations: 55.91 kB / 0.5508 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1707, allocations: 64 / 0.5508 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.288e-05/0.1708, allocations: 27.98 kB / 0.5508 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.1711, allocations: 29.69 kB / 0.5509 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/0.1732, allocations: 1.727 MB / 0.5526 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.1735, allocations: 0.7195 MB / 0.5533 GB, free: 9.301 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.524e-05/0.1736, allocations: 13.19 kB / 0.5533 GB, free: 9.289 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.401e-05/0.1736, allocations: 35.42 kB / 0.5533 GB, free: 9.258 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1736, allocations: 0 / 0.5533 GB, free: 9.258 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02789/0.2015, allocations: 3.575 MB / 0.5568 GB, free: 5.715 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.098/8.299, allocations: 16.06 kB / 0.5568 GB, free: 5.699 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.209526197984815]