Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009669/0.0009669, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9111/0.9111, allocations: 177.1 MB / 204.3 MB, free: 5.703 MB / 186.7 MB " [Timeout remaining time 179] 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.2465/0.2465, allocations: 32.79 MB / 293.5 MB, free: 1.215 MB / 266.7 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 439.7 MB, free: 4.141 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.863e-05/2.031e-05, allocations: 6.281 kB / 439.7 MB, free: 4.133 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002388/0.002409, allocations: 1.871 MB / 441.6 MB, free: 2.242 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.003635, allocations: 1.078 MB / 442.6 MB, free: 1.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.003748, allocations: 0 / 442.6 MB, free: 1.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003183/0.004066, allocations: 167.3 kB / 442.8 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003514/0.004418, allocations: 187.2 kB / 443 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.004632, allocations: 123.5 kB / 443.1 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002567/0.004889, allocations: 251.2 kB / 443.3 MB, free: 456 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.735e-05/0.004986, allocations: 17.95 kB / 443.4 MB, free: 436 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.005115, allocations: 135.6 kB / 443.5 MB, free: 300 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.005239, allocations: 119.7 kB / 443.6 MB, free: 180 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.00526, allocations: 19.98 kB / 443.6 MB, free: 160 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.639e-05/0.005356, allocations: 67.91 kB / 443.7 MB, free: 92 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.203e-05/0.005418, allocations: 55.7 kB / 443.7 MB, free: 36 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1623/0.1677, allocations: 38.72 kB / 443.8 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003815/0.1681, allocations: 225.1 kB / 444 MB, free: 43.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1681, allocations: 0 / 444 MB, free: 43.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1681, allocations: 0 / 444 MB, free: 43.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.1681, allocations: 0 / 444 MB, free: 43.64 MB / 410.7 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.0004709/0.1686, allocations: 481.7 kB / 444.5 MB, free: 43.28 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.1686, allocations: 8.812 kB / 444.5 MB, free: 43.28 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.982e-05/0.1687, allocations: 42.89 kB / 444.5 MB, free: 43.24 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.895e-05/0.1687, allocations: 28.25 kB / 444.6 MB, free: 43.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/0.1689, allocations: 218.9 kB / 444.8 MB, free: 43.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.169, allocations: 6.844 kB / 444.8 MB, free: 43.06 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.169, allocations: 11.44 kB / 444.8 MB, free: 43.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.1691, allocations: 110.9 kB / 444.9 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.1691, allocations: 3.234 kB / 444.9 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.1692, allocations: 10.47 kB / 444.9 MB, free: 43.01 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1692, allocations: 2.75 kB / 444.9 MB, free: 43.01 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.898e-05/0.1692, allocations: 47.17 kB / 445 MB, free: 43.01 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003218/0.1696, allocations: 438.7 kB / 445.4 MB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.1698, allocations: 118.3 kB / 445.5 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.125e-05/0.1698, allocations: 46.27 kB / 445.5 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.1698, allocations: 0.7188 kB / 445.5 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001377/0.17, allocations: 123.5 kB / 445.7 MB, free: 42.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.012e-06/0.17, allocations: 0 / 445.7 MB, free: 42.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007053/0.1707, allocations: 0.5016 MB / 446.2 MB, free: 42.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.362e-05/0.1707, allocations: 86.73 kB / 446.3 MB, free: 42.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001967/0.1709, allocations: 386.4 kB / 446.6 MB, free: 42.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.1709, allocations: 32.11 kB / 446.7 MB, free: 42.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.964e-05/0.171, allocations: 142.1 kB / 446.8 MB, free: 42.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.171, allocations: 72.64 kB / 446.9 MB, free: 42.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.464e-05/0.171, allocations: 45.58 kB / 446.9 MB, free: 42.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.95e-05/0.1711, allocations: 347.2 kB / 447.3 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.588e-05/0.1712, allocations: 55.42 kB / 447.3 MB, free: 41.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.901e-05/0.1712, allocations: 93.53 kB / 447.4 MB, free: 41.74 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.1714, allocations: 167.9 kB / 447.6 MB, free: 41.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1714, allocations: 0 / 447.6 MB, free: 41.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002165/0.1716, allocations: 243.8 kB / 447.8 MB, free: 41.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.1716, allocations: 7.188 kB / 447.8 MB, free: 41.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1716, allocations: 3.094 kB / 447.8 MB, free: 41.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.1716, allocations: 0 / 447.8 MB, free: 41.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.634e-05/0.1717, allocations: 51.78 kB / 447.9 MB, free: 41.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.1717, allocations: 3.875 kB / 447.9 MB, free: 41.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.425e-05/0.1718, allocations: 10.09 kB / 447.9 MB, free: 41.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.1718, allocations: 17.48 kB / 447.9 MB, free: 41.65 MB / 410.7 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 8.335e-05/0.1718, allocations: 152.5 kB / 448 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.22e-05/0.1719, allocations: 33.86 kB / 448.1 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002855/0.1722, allocations: 279 kB / 448.3 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1722, allocations: 2.938 kB / 448.4 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1722, allocations: 5.406 kB / 448.4 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1722, allocations: 0 / 448.4 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004774/0.1726, allocations: 0.6926 MB / 449.1 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1727, allocations: 4.25 kB / 449.1 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.849e-05/0.1727, allocations: 32.02 kB / 449.1 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1727, allocations: 6.234 kB / 449.1 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.1727, allocations: 7.578 kB / 449.1 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1727, allocations: 6.656 kB / 449.1 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.1727, allocations: 2.781 kB / 449.1 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.1729, allocations: 438.1 kB / 449.5 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.173, allocations: 27.66 kB / 449.6 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.173, allocations: 12.25 kB / 449.6 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.326e-05/0.1731, allocations: 9.484 kB / 449.6 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.501e-05/0.1731, allocations: 28.19 kB / 449.6 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.1731, allocations: 14.89 kB / 449.6 MB, free: 40.83 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001391/0.1733, allocations: 285.9 kB / 449.9 MB, free: 40.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1733, allocations: 0 / 449.9 MB, free: 40.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002248/0.1735, allocations: 50.73 kB / 450 MB, free: 40.72 MB / 410.7 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 (24): * Single equations (assignments): 20 * 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.001029/0.1745, allocations: 1.428 MB / 451.4 MB, free: 39.78 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000182/0.1747, allocations: 152.4 kB / 451.5 MB, free: 39.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.1747, allocations: 2.781 kB / 451.5 MB, free: 39.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.58e-05/0.1748, allocations: 77.61 kB / 451.6 MB, free: 39.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.1751, allocations: 64.45 kB / 451.7 MB, free: 39.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.1768, allocations: 2.746 MB / 454.4 MB, free: 37.87 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.178e-05/0.1769, allocations: 154.7 kB / 454.6 MB, free: 37.78 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.627e-05/0.1769, allocations: 46.59 kB / 454.6 MB, free: 37.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.587e-05/0.177, allocations: 93.28 kB / 454.7 MB, free: 37.71 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.177, allocations: 0 / 454.7 MB, free: 37.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01635/0.1934, allocations: 7.062 MB / 461.8 MB, free: 36.02 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.759/6.952, allocations: 3 kB / 461.8 MB, free: 36.02 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 8.938040615059435]