Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.0008682/0.0008682, allocations: 79.7 kB / 20.67 MB, free: 3.895 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.0008556/0.0008556, allocations: 170 kB / 23.95 MB, free: 0.6172 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.873/0.873, allocations: 177.1 MB / 204.2 MB, free: 5.738 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.2445/0.2445, allocations: 34.24 MB / 294.9 MB, free: 0.7031 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.Test34,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 442.3 MB, free: 1.586 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.156e-05/1.29e-05, allocations: 5.094 kB / 442.3 MB, free: 1.582 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.1719/0.172, allocations: 1.714 MB / 444 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.173, allocations: 0.9802 MB / 445 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.612e-05/0.1731, allocations: 0 / 445 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002518/0.1733, allocations: 36.31 kB / 445 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002337/0.1736, allocations: 93.84 kB / 445.1 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001266/0.1737, allocations: 84.56 kB / 445.2 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.1738, allocations: 110.7 kB / 445.3 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.02e-05/0.1739, allocations: 12.81 kB / 445.3 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.892e-05/0.174, allocations: 52.7 kB / 445.3 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.026e-05/0.174, allocations: 29.86 kB / 445.4 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.1741, allocations: 3.031 kB / 445.4 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.702e-05/0.1741, allocations: 44.58 kB / 445.4 MB, free: 43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.776e-05/0.1742, allocations: 16.69 kB / 445.4 MB, free: 43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.407e-05/0.1742, allocations: 23.8 kB / 445.5 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.1744, allocations: 114.6 kB / 445.6 MB, free: 42.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1744, allocations: 4.688 kB / 445.6 MB, free: 42.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1744, allocations: 0 / 445.6 MB, free: 42.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1744, allocations: 0 / 445.6 MB, free: 42.96 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003666/0.1747, allocations: 345.7 kB / 445.9 MB, free: 42.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.1748, allocations: 10.81 kB / 445.9 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.415e-05/0.1748, allocations: 35.03 kB / 446 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.902e-05/0.1748, allocations: 14.19 kB / 446 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.175, allocations: 153.2 kB / 446.1 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.175, allocations: 4.312 kB / 446.1 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.175, allocations: 3.062 kB / 446.1 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.1751, allocations: 63.28 kB / 446.2 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.1751, allocations: 0 / 446.2 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.1752, allocations: 0 / 446.2 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1752, allocations: 2.719 kB / 446.2 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.612e-05/0.1752, allocations: 22.11 kB / 446.2 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002369/0.1754, allocations: 259.5 kB / 446.5 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.1756, allocations: 61 kB / 446.5 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.932e-05/0.1756, allocations: 23.02 kB / 446.5 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.1756, allocations: 0 / 446.5 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001065/0.1757, allocations: 69.64 kB / 446.6 MB, free: 42.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.1757, allocations: 2.844 kB / 446.6 MB, free: 42.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003652/0.1761, allocations: 186.8 kB / 446.8 MB, free: 42.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.266e-05/0.1761, allocations: 51.41 kB / 446.8 MB, free: 41.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.894e-05/0.1762, allocations: 203 kB / 447 MB, free: 41.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.242e-06/0.1762, allocations: 30.14 kB / 447.1 MB, free: 41.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.776e-05/0.1762, allocations: 100.9 kB / 447.2 MB, free: 41.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.1762, allocations: 29.81 kB / 447.2 MB, free: 41.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.1763, allocations: 29.34 kB / 447.2 MB, free: 41.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.911e-05/0.1763, allocations: 328.5 kB / 447.6 MB, free: 41.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.333e-05/0.1763, allocations: 26.3 kB / 447.6 MB, free: 41.42 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.389e-05/0.1764, allocations: 34.31 kB / 447.6 MB, free: 41.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.677e-05/0.1764, allocations: 59.34 kB / 447.7 MB, free: 41.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1764, allocations: 0 / 447.7 MB, free: 41.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.973e-05/0.1765, allocations: 106.8 kB / 447.8 MB, free: 41.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.1765, allocations: 5.812 kB / 447.8 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1766, allocations: 0 / 447.8 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.1766, allocations: 7 kB / 447.8 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.217e-05/0.1766, allocations: 14.95 kB / 447.8 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.1766, allocations: 2.156 kB / 447.8 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.884e-05/0.1767, allocations: 3.031 kB / 447.8 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.952e-06/0.1767, allocations: 6.562 kB / 447.8 MB, free: 41.34 MB / 410.7 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 4.864e-05/0.1767, allocations: 130.2 kB / 447.9 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.056e-05/0.1767, allocations: 9.516 kB / 447.9 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/0.1769, allocations: 126.1 kB / 448.1 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1769, allocations: 0 / 448.1 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1769, allocations: 4 kB / 448.1 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1769, allocations: 0 / 448.1 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002265/0.1771, allocations: 378.9 kB / 448.4 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1771, allocations: 0 / 448.4 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.267e-05/0.1771, allocations: 15.52 kB / 448.5 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1771, allocations: 0 / 448.5 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.1771, allocations: 6.844 kB / 448.5 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1771, allocations: 0.7812 kB / 448.5 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1771, allocations: 3.938 kB / 448.5 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.647e-05/0.1772, allocations: 211.8 kB / 448.7 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.09e-05/0.1772, allocations: 17.53 kB / 448.7 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.1773, allocations: 4 kB / 448.7 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.71e-05/0.1773, allocations: 6.359 kB / 448.7 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.642e-05/0.1773, allocations: 13.39 kB / 448.7 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.1773, allocations: 3.031 kB / 448.7 MB, free: 40.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.486e-05/0.1774, allocations: 156.7 kB / 448.9 MB, free: 40.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1774, allocations: 0 / 448.9 MB, free: 40.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001741/0.1776, allocations: 27.23 kB / 448.9 MB, free: 40.56 MB / 410.7 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 (9): * Single equations (assignments): 7 * 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.0008566/0.1784, allocations: 1.137 MB / 450 MB, free: 39.78 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001216/0.1786, allocations: 60.02 kB / 450.1 MB, free: 39.76 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1786, allocations: 0 / 450.1 MB, free: 39.76 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.785e-05/0.1786, allocations: 32.05 kB / 450.1 MB, free: 39.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.1788, allocations: 47 kB / 450.2 MB, free: 39.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009133/0.1797, allocations: 1.681 MB / 451.9 MB, free: 38.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.635e-05/0.1798, allocations: 88.69 kB / 451.9 MB, free: 38.29 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.727e-05/0.1798, allocations: 22.8 kB / 452 MB, free: 38.28 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.525e-05/0.1799, allocations: 33.55 kB / 452 MB, free: 38.26 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1799, allocations: 0 / 452 MB, free: 38.26 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01673/0.1966, allocations: 4.278 MB / 456.3 MB, free: 36.87 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.687/6.884, allocations: 6.062 kB / 456.3 MB, free: 36.87 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test34_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test34.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.805231259204447]