Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.0008272/0.0008272, 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.001069/0.001069, 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.9046/0.9046, 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2478/0.2478, allocations: 34.25 MB / 294.9 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test73,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 442.3 MB, free: 1.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.071e-05/2.21e-05, allocations: 2.844 kB / 442.3 MB, free: 1.566 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.1734/0.1734, allocations: 1.867 MB / 444.1 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.1745, allocations: 1.075 MB / 445.2 MB, free: 43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.029e-05/0.1746, allocations: 6.719 kB / 445.2 MB, free: 43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002988/0.1749, allocations: 164.8 kB / 445.4 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002909/0.1752, allocations: 189 kB / 445.6 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001568/0.1753, allocations: 118 kB / 445.7 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.1755, allocations: 254.9 kB / 445.9 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.1756, allocations: 18.52 kB / 445.9 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.1757, allocations: 131.7 kB / 446.1 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.1759, allocations: 131.5 kB / 446.2 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.1759, allocations: 14.39 kB / 446.2 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.019e-05/0.176, allocations: 64.3 kB / 446.3 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.307e-05/0.176, allocations: 59.84 kB / 446.3 MB, free: 42.78 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.519e-05/0.1761, allocations: 42.34 kB / 446.4 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.1763, allocations: 227.7 kB / 446.6 MB, free: 42.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1763, allocations: 0 / 446.6 MB, free: 42.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1763, allocations: 0 / 446.6 MB, free: 42.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.1763, allocations: 0 / 446.6 MB, free: 42.71 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.0004425/0.1767, allocations: 484.6 kB / 447.1 MB, free: 42.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.1768, allocations: 8.875 kB / 447.1 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.642e-05/0.1768, allocations: 40.92 kB / 447.1 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.891e-05/0.1768, allocations: 27.97 kB / 447.2 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/0.1771, allocations: 202.9 kB / 447.3 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.1771, allocations: 8.438 kB / 447.4 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.1771, allocations: 9.812 kB / 447.4 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.1773, allocations: 121.6 kB / 447.5 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1773, allocations: 6.062 kB / 447.5 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.1773, allocations: 2.875 kB / 447.5 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.1773, allocations: 2.344 kB / 447.5 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.734e-05/0.1774, allocations: 55.42 kB / 447.6 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000331/0.1777, allocations: 433.8 kB / 448 MB, free: 41.69 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/0.1779, allocations: 119.5 kB / 448.1 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.381e-05/0.178, allocations: 55.09 kB / 448.1 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.178, allocations: 0 / 448.1 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001469/0.1782, allocations: 118.8 kB / 448.3 MB, free: 41.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 9.42e-07/0.1782, allocations: 0 / 448.3 MB, free: 41.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007344/0.1789, allocations: 0.511 MB / 448.8 MB, free: 41.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.56e-05/0.1789, allocations: 87.92 kB / 448.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002022/0.1791, allocations: 385.2 kB / 449.2 MB, free: 41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.1791, allocations: 32.58 kB / 449.3 MB, free: 40.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.201e-05/0.1792, allocations: 142.6 kB / 449.4 MB, free: 40.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.303e-05/0.1792, allocations: 69.41 kB / 449.5 MB, free: 40.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-05/0.1793, allocations: 45.72 kB / 449.5 MB, free: 40.76 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.434e-05/0.1793, allocations: 341.2 kB / 449.9 MB, free: 40.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.052e-05/0.1794, allocations: 57.58 kB / 449.9 MB, free: 40.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.551e-05/0.1794, allocations: 96.39 kB / 450 MB, free: 40.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.1796, allocations: 161.3 kB / 450.2 MB, free: 40.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1796, allocations: 0 / 450.2 MB, free: 40.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000213/0.1798, allocations: 241.6 kB / 450.4 MB, free: 40.15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.1798, allocations: 5.844 kB / 450.4 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1798, allocations: 0 / 450.4 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.1798, allocations: 10.81 kB / 450.4 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.035e-05/0.1799, allocations: 45.41 kB / 450.5 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1799, allocations: 6.594 kB / 450.5 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.654e-05/0.18, allocations: 14.14 kB / 450.5 MB, free: 40.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.18, allocations: 5.844 kB / 450.5 MB, free: 40.13 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 7.753e-05/0.18, allocations: 162.8 kB / 450.6 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.1801, allocations: 30.34 kB / 450.7 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002904/0.1804, allocations: 271.7 kB / 450.9 MB, free: 39.87 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.1804, allocations: 13.44 kB / 450.9 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1804, allocations: 3.234 kB / 451 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.1804, allocations: 4 kB / 451 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004673/0.1808, allocations: 0.6979 MB / 451.7 MB, free: 39.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1808, allocations: 0 / 451.7 MB, free: 39.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.938e-05/0.1809, allocations: 30.66 kB / 451.7 MB, free: 39.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1809, allocations: 2.969 kB / 451.7 MB, free: 39.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.1809, allocations: 6.906 kB / 451.7 MB, free: 39.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.1809, allocations: 10.27 kB / 451.7 MB, free: 39.35 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1809, allocations: 7 kB / 451.7 MB, free: 39.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.1811, allocations: 432.4 kB / 452.1 MB, free: 39.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.913e-05/0.1812, allocations: 28.62 kB / 452.2 MB, free: 39.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.1812, allocations: 10.16 kB / 452.2 MB, free: 39.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.789e-05/0.1813, allocations: 5.656 kB / 452.2 MB, free: 39.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.1813, allocations: 30.11 kB / 452.2 MB, free: 39.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.1813, allocations: 13.22 kB / 452.2 MB, free: 39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00014/0.1815, allocations: 282 kB / 452.5 MB, free: 38.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1815, allocations: 0 / 452.5 MB, free: 38.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002359/0.1817, allocations: 52.12 kB / 452.5 MB, free: 38.86 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.001146/0.1828, allocations: 1.432 MB / 454 MB, free: 37.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002099/0.183, allocations: 164.3 kB / 454.1 MB, free: 37.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1831, allocations: 2.875 kB / 454.1 MB, free: 37.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.283e-05/0.1831, allocations: 80.84 kB / 454.2 MB, free: 37.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.1835, allocations: 70.67 kB / 454.3 MB, free: 37.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002138/0.1856, allocations: 2.734 MB / 457 MB, free: 35.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.214e-05/0.1857, allocations: 159.6 kB / 457.2 MB, free: 35.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.592e-05/0.1858, allocations: 32.86 kB / 457.2 MB, free: 35.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.531e-05/0.1859, allocations: 93.58 kB / 457.3 MB, free: 35.78 MB / 410.7 MB Notification: Performance of SimCode: time 1.112e-06/0.1859, allocations: 0 / 457.3 MB, free: 35.78 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01843/0.2043, allocations: 7.055 MB / 464.4 MB, free: 34.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.728/6.933, allocations: 7.156 kB / 464.4 MB, free: 34.09 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.919996554031968]