Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.0009036/0.0009036, 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.001299/0.001299, 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.8837/0.8837, allocations: 177.1 MB / 204.2 MB, free: 5.711 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.2383/0.2383, allocations: 34.25 MB / 294.9 MB, free: 0.7148 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.Test79,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 442.3 MB, free: 1.551 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.737e-05/1.864e-05, allocations: 6.281 kB / 442.3 MB, free: 1.543 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.1718/0.1718, allocations: 1.868 MB / 444.1 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.1731, allocations: 1.074 MB / 445.2 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.499e-05/0.1732, allocations: 6.969 kB / 445.2 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003971/0.1736, allocations: 222.8 kB / 445.4 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003663/0.1739, allocations: 217.5 kB / 445.7 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002014/0.1741, allocations: 121.1 kB / 445.8 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002425/0.1744, allocations: 270.6 kB / 446 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.1745, allocations: 17.53 kB / 446.1 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.1746, allocations: 141.7 kB / 446.2 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.1748, allocations: 154.7 kB / 446.3 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.1748, allocations: 8.656 kB / 446.3 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.1749, allocations: 71.27 kB / 446.4 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.614e-05/0.175, allocations: 64.38 kB / 446.5 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.512e-05/0.175, allocations: 47.3 kB / 446.5 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002742/0.1753, allocations: 243.6 kB / 446.8 MB, free: 42.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.1753, allocations: 0 / 446.8 MB, free: 42.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1753, allocations: 0 / 446.8 MB, free: 42.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.1753, allocations: 3.344 kB / 446.8 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.0005763/0.1759, allocations: 0.4928 MB / 447.3 MB, free: 42.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/0.176, allocations: 11.56 kB / 447.3 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.657e-05/0.176, allocations: 40.64 kB / 447.3 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.114e-05/0.1761, allocations: 28.34 kB / 447.3 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/0.1764, allocations: 222.7 kB / 447.6 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.1764, allocations: 9.719 kB / 447.6 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.1764, allocations: 8.359 kB / 447.6 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.1766, allocations: 126.7 kB / 447.7 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.1766, allocations: 6.688 kB / 447.7 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.1766, allocations: 3.375 kB / 447.7 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1766, allocations: 8.594 kB / 447.7 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.169e-05/0.1767, allocations: 49.03 kB / 447.8 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003737/0.1771, allocations: 448.7 kB / 448.2 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002628/0.1773, allocations: 121 kB / 448.3 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.575e-05/0.1774, allocations: 41.84 kB / 448.4 MB, free: 41.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.1774, allocations: 2.906 kB / 448.4 MB, free: 41.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001606/0.1776, allocations: 123.1 kB / 448.5 MB, free: 41.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.1776, allocations: 0 / 448.5 MB, free: 41.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008325/0.1784, allocations: 0.5169 MB / 449 MB, free: 41.24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.1784, allocations: 83.05 kB / 449.1 MB, free: 41.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/0.1787, allocations: 457 kB / 449.5 MB, free: 40.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.1787, allocations: 29.7 kB / 449.6 MB, free: 40.92 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.75e-05/0.1788, allocations: 163.7 kB / 449.7 MB, free: 40.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.671e-05/0.1788, allocations: 82.52 kB / 449.8 MB, free: 40.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-05/0.1789, allocations: 42.44 kB / 449.8 MB, free: 40.69 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.998e-05/0.1789, allocations: 341.4 kB / 450.2 MB, free: 40.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.336e-05/0.179, allocations: 58.89 kB / 450.2 MB, free: 40.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.598e-05/0.1791, allocations: 92.94 kB / 450.3 MB, free: 40.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.1792, allocations: 166.2 kB / 450.5 MB, free: 40.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1792, allocations: 0 / 450.5 MB, free: 40.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002154/0.1794, allocations: 243 kB / 450.7 MB, free: 40.08 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.1794, allocations: 5.031 kB / 450.7 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1794, allocations: 0 / 450.7 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.1795, allocations: 7.719 kB / 450.7 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.26e-05/0.1795, allocations: 44.48 kB / 450.8 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.1795, allocations: 5.625 kB / 450.8 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.871e-05/0.1796, allocations: 13.09 kB / 450.8 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.1796, allocations: 9.719 kB / 450.8 MB, free: 40.07 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.672e-05/0.1797, allocations: 163.9 kB / 451 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.1797, allocations: 37.25 kB / 451 MB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002934/0.18, allocations: 287 kB / 451.3 MB, free: 39.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.18, allocations: 6.844 kB / 451.3 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.18, allocations: 3.938 kB / 451.3 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.18, allocations: 0 / 451.3 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004992/0.1805, allocations: 0.7043 MB / 452 MB, free: 39.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.1805, allocations: 10.09 kB / 452 MB, free: 39.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.114e-05/0.1806, allocations: 32.86 kB / 452 MB, free: 39.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.1806, allocations: 2.938 kB / 452 MB, free: 39.28 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.1806, allocations: 10.91 kB / 452.1 MB, free: 39.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.1806, allocations: 6.391 kB / 452.1 MB, free: 39.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.1806, allocations: 2.875 kB / 452.1 MB, free: 39.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/0.1808, allocations: 435.7 kB / 452.5 MB, free: 38.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.988e-05/0.1808, allocations: 35.55 kB / 452.5 MB, free: 38.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.1809, allocations: 9.531 kB / 452.5 MB, free: 38.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.692e-05/0.1809, allocations: 13.05 kB / 452.5 MB, free: 38.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.181, allocations: 23.66 kB / 452.6 MB, free: 38.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.286e-05/0.181, allocations: 11.44 kB / 452.6 MB, free: 38.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001657/0.1812, allocations: 337.9 kB / 452.9 MB, free: 38.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1812, allocations: 0 / 452.9 MB, free: 38.78 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002358/0.1814, allocations: 54.91 kB / 453 MB, free: 38.77 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.001141/0.1825, allocations: 1.426 MB / 454.4 MB, free: 37.81 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002084/0.1828, allocations: 158.9 kB / 454.5 MB, free: 37.76 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1828, allocations: 0 / 454.5 MB, free: 37.76 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.306e-05/0.1828, allocations: 79.81 kB / 454.6 MB, free: 37.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.1832, allocations: 71.59 kB / 454.7 MB, free: 37.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001883/0.1851, allocations: 2.914 MB / 457.6 MB, free: 35.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.23e-05/0.1852, allocations: 177.5 kB / 457.8 MB, free: 35.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.819e-05/0.1853, allocations: 39.44 kB / 457.8 MB, free: 35.69 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.889e-05/0.1853, allocations: 98.56 kB / 457.9 MB, free: 35.63 MB / 410.7 MB Notification: Performance of SimCode: time 6.52e-07/0.1853, allocations: 0 / 457.9 MB, free: 35.63 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01887/0.2042, allocations: 7.386 MB / 465.3 MB, free: 33.89 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.697/6.902, allocations: 3.281 kB / 465.3 MB, free: 33.89 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test79_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.862845310941339]