Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.0008385/0.0008385, 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.0009685/0.0009685, 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.8707/0.8707, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.2506/0.2506, 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.Test24,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 442.3 MB, free: 1.582 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.147e-05/1.252e-05, allocations: 3.266 kB / 442.3 MB, free: 1.578 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.1688/0.1688, allocations: 1.719 MB / 444 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.17, allocations: 0.9776 MB / 445 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.083e-05/0.17, allocations: 3.938 kB / 445 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000276/0.1703, allocations: 36.19 kB / 445 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002476/0.1706, allocations: 100.9 kB / 445.1 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001331/0.1707, allocations: 76.34 kB / 445.2 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.1709, allocations: 115.2 kB / 445.3 MB, free: 43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.171, allocations: 9.844 kB / 445.3 MB, free: 43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.831e-05/0.171, allocations: 54.45 kB / 445.3 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.289e-05/0.1711, allocations: 29.05 kB / 445.4 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.1711, allocations: 2.562 kB / 445.4 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.665e-05/0.1712, allocations: 44.81 kB / 445.4 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.978e-05/0.1713, allocations: 23.36 kB / 445.4 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.672e-05/0.1713, allocations: 22.98 kB / 445.5 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.1715, allocations: 120.1 kB / 445.6 MB, free: 42.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1715, allocations: 0 / 445.6 MB, free: 42.94 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1715, allocations: 2.562 kB / 445.6 MB, free: 42.94 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1715, allocations: 0.625 kB / 445.6 MB, free: 42.94 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.0004135/0.1719, allocations: 351 kB / 445.9 MB, free: 42.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.172, allocations: 11.25 kB / 445.9 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.649e-05/0.172, allocations: 34.38 kB / 446 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.181e-05/0.172, allocations: 10.14 kB / 446 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.1722, allocations: 160.1 kB / 446.1 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.1722, allocations: 3.219 kB / 446.1 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.1723, allocations: 11.38 kB / 446.2 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.1724, allocations: 61.38 kB / 446.2 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.1724, allocations: 0 / 446.2 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.1724, allocations: 2.625 kB / 446.2 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.1724, allocations: 3.625 kB / 446.2 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.214e-05/0.1725, allocations: 21.77 kB / 446.2 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002611/0.1727, allocations: 256.8 kB / 446.5 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.1728, allocations: 58.5 kB / 446.5 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.049e-05/0.1729, allocations: 22.45 kB / 446.6 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.1729, allocations: 3.562 kB / 446.6 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001075/0.173, allocations: 75.08 kB / 446.6 MB, free: 42.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.173, allocations: 0 / 446.6 MB, free: 42.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003836/0.1734, allocations: 179.4 kB / 446.8 MB, free: 42.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.33e-05/0.1734, allocations: 51.41 kB / 446.9 MB, free: 41.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.1735, allocations: 218.4 kB / 447.1 MB, free: 41.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.362e-06/0.1735, allocations: 28.33 kB / 447.1 MB, free: 41.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.996e-05/0.1735, allocations: 103.6 kB / 447.2 MB, free: 41.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.1736, allocations: 28.56 kB / 447.2 MB, free: 41.72 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-05/0.1736, allocations: 24.41 kB / 447.3 MB, free: 41.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.74e-05/0.1736, allocations: 329.8 kB / 447.6 MB, free: 41.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.937e-05/0.1737, allocations: 21.7 kB / 447.6 MB, free: 41.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.982e-05/0.1737, allocations: 39 kB / 447.6 MB, free: 41.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.069e-05/0.1738, allocations: 64.34 kB / 447.7 MB, free: 41.35 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1738, allocations: 0 / 447.7 MB, free: 41.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001081/0.1739, allocations: 106.7 kB / 447.8 MB, free: 41.31 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.1739, allocations: 5.812 kB / 447.8 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1739, allocations: 0 / 447.8 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.1739, allocations: 0 / 447.8 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.972e-05/0.174, allocations: 21.48 kB / 447.8 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.174, allocations: 2.156 kB / 447.8 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.616e-05/0.174, allocations: 6.969 kB / 447.8 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.174, allocations: 2.594 kB / 447.9 MB, free: 41.3 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 5.746e-05/0.1741, allocations: 135.6 kB / 448 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.214e-05/0.1741, allocations: 9.953 kB / 448 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000159/0.1743, allocations: 122.8 kB / 448.1 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.1743, allocations: 0 / 448.1 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1743, allocations: 7.031 kB / 448.1 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1743, allocations: 0 / 448.1 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00025/0.1745, allocations: 382 kB / 448.5 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1745, allocations: 4.031 kB / 448.5 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.251e-05/0.1745, allocations: 8.781 kB / 448.5 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.1746, allocations: 3.938 kB / 448.5 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.1746, allocations: 6.219 kB / 448.5 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1746, allocations: 3.188 kB / 448.5 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1746, allocations: 3.938 kB / 448.5 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.1747, allocations: 217.1 kB / 448.7 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.013e-05/0.1747, allocations: 6.828 kB / 448.7 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.1747, allocations: 7.031 kB / 448.7 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.867e-05/0.1747, allocations: 0 / 448.7 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.8e-05/0.1748, allocations: 17.33 kB / 448.8 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.1748, allocations: 6.188 kB / 448.8 MB, free: 40.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.33e-05/0.1748, allocations: 156 kB / 448.9 MB, free: 40.51 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1748, allocations: 0 / 448.9 MB, free: 40.51 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001846/0.175, allocations: 29 kB / 449 MB, free: 40.5 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.0008947/0.1759, allocations: 1.133 MB / 450.1 MB, free: 39.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001205/0.176, allocations: 59.97 kB / 450.1 MB, free: 39.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.176, allocations: 3.938 kB / 450.1 MB, free: 39.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.915e-05/0.1761, allocations: 32.25 kB / 450.2 MB, free: 39.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.1763, allocations: 36.67 kB / 450.2 MB, free: 39.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009262/0.1772, allocations: 1.713 MB / 451.9 MB, free: 38.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.733e-05/0.1773, allocations: 95.45 kB / 452 MB, free: 38.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.728e-05/0.1773, allocations: 24.42 kB / 452 MB, free: 38.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.591e-05/0.1774, allocations: 37.25 kB / 452.1 MB, free: 38.2 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1774, allocations: 2.875 kB / 452.1 MB, free: 38.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01433/0.1917, allocations: 4.326 MB / 456.4 MB, free: 36.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.624/6.816, allocations: 3.984 kB / 456.4 MB, free: 36.8 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test24_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test24.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.74619185179472]