Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.001396/0.001396, 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.0008943/0.0008943, 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.9056/0.9056, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.238/0.238, 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.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 442.3 MB, free: 1.562 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.26e-05/2.445e-05, allocations: 2.281 kB / 442.3 MB, free: 1.559 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.1696/0.1697, allocations: 1.71 MB / 444 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001049/0.1707, allocations: 0.9734 MB / 444.9 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.514e-05/0.1708, allocations: 2.906 kB / 445 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002579/0.171, allocations: 44.23 kB / 445 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002927/0.1713, allocations: 96.47 kB / 445.1 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001483/0.1715, allocations: 84.69 kB / 445.2 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.1716, allocations: 106.7 kB / 445.3 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.917e-05/0.1717, allocations: 10.23 kB / 445.3 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.883e-05/0.1718, allocations: 60.41 kB / 445.3 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.572e-05/0.1719, allocations: 25.52 kB / 445.4 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.1719, allocations: 5.781 kB / 445.4 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.466e-05/0.1719, allocations: 38.16 kB / 445.4 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.783e-05/0.172, allocations: 20.38 kB / 445.4 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.325e-05/0.172, allocations: 17.72 kB / 445.4 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.1722, allocations: 119 kB / 445.6 MB, free: 42.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.1722, allocations: 2.969 kB / 445.6 MB, free: 42.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1722, allocations: 0 / 445.6 MB, free: 42.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.1722, allocations: 0.7188 kB / 445.6 MB, free: 42.98 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.000374/0.1726, allocations: 347 kB / 445.9 MB, free: 42.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.1726, allocations: 12.06 kB / 445.9 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.908e-05/0.1726, allocations: 37.16 kB / 446 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.135e-05/0.1727, allocations: 17.89 kB / 446 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.1728, allocations: 145.9 kB / 446.1 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.1729, allocations: 3 kB / 446.1 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.1729, allocations: 3.906 kB / 446.1 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.173, allocations: 61.09 kB / 446.2 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.173, allocations: 0.8438 kB / 446.2 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.173, allocations: 3.625 kB / 446.2 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.173, allocations: 2 kB / 446.2 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.952e-05/0.1731, allocations: 20.08 kB / 446.2 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000249/0.1733, allocations: 269.3 kB / 446.5 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.1734, allocations: 54 kB / 446.5 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.209e-05/0.1734, allocations: 20.67 kB / 446.5 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.1735, allocations: 5.625 kB / 446.6 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000114/0.1736, allocations: 72.36 kB / 446.6 MB, free: 42.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.163e-06/0.1736, allocations: 0 / 446.6 MB, free: 42.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003831/0.174, allocations: 179.8 kB / 446.8 MB, free: 42.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.269e-05/0.174, allocations: 63.97 kB / 446.9 MB, free: 42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.1741, allocations: 198.6 kB / 447.1 MB, free: 41.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.983e-06/0.1741, allocations: 32.17 kB / 447.1 MB, free: 41.87 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.982e-05/0.1741, allocations: 102.1 kB / 447.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.1741, allocations: 21.55 kB / 447.2 MB, free: 41.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.97e-05/0.1742, allocations: 28.97 kB / 447.2 MB, free: 41.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.076e-05/0.1742, allocations: 324.6 kB / 447.6 MB, free: 41.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.488e-05/0.1742, allocations: 24.03 kB / 447.6 MB, free: 41.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.527e-05/0.1743, allocations: 36.5 kB / 447.6 MB, free: 41.42 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.609e-05/0.1743, allocations: 64.92 kB / 447.7 MB, free: 41.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1743, allocations: 0 / 447.7 MB, free: 41.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001065/0.1745, allocations: 105 kB / 447.8 MB, free: 41.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.1745, allocations: 8.906 kB / 447.8 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1745, allocations: 0 / 447.8 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.1745, allocations: 3.094 kB / 447.8 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.661e-05/0.1745, allocations: 15.59 kB / 447.8 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.1746, allocations: 5.391 kB / 447.8 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.973e-05/0.1746, allocations: 10.84 kB / 447.8 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.403e-06/0.1746, allocations: 2.719 kB / 447.8 MB, free: 41.35 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.252e-05/0.1746, allocations: 126.8 kB / 447.9 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.164e-05/0.1747, allocations: 13.52 kB / 448 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001488/0.1748, allocations: 122.9 kB / 448.1 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1748, allocations: 2.906 kB / 448.1 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.1748, allocations: 1.062 kB / 448.1 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1748, allocations: 0 / 448.1 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002803/0.1751, allocations: 377.3 kB / 448.5 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1751, allocations: 0 / 448.5 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.495e-05/0.1751, allocations: 11.98 kB / 448.5 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.1751, allocations: 0 / 448.5 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.1751, allocations: 6.844 kB / 448.5 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.1751, allocations: 3.969 kB / 448.5 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.1751, allocations: 6.938 kB / 448.5 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.1752, allocations: 211.6 kB / 448.7 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.254e-05/0.1753, allocations: 14.78 kB / 448.7 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.1753, allocations: 3.328 kB / 448.7 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.934e-05/0.1753, allocations: 6.844 kB / 448.7 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.72e-05/0.1753, allocations: 14.16 kB / 448.7 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.1753, allocations: 9.812 kB / 448.7 MB, free: 40.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.224e-05/0.1754, allocations: 151.1 kB / 448.9 MB, free: 40.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1754, allocations: 0 / 448.9 MB, free: 40.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001861/0.1756, allocations: 28.2 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.0009056/0.1765, allocations: 1.138 MB / 450 MB, free: 39.78 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001226/0.1766, allocations: 61.81 kB / 450.1 MB, free: 39.76 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1766, allocations: 0 / 450.1 MB, free: 39.76 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.783e-05/0.1767, allocations: 28.5 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.00023/0.1769, allocations: 33.58 kB / 450.2 MB, free: 39.74 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009446/0.1778, allocations: 1.687 MB / 451.9 MB, free: 38.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.778e-05/0.1779, allocations: 88.09 kB / 451.9 MB, free: 38.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.955e-05/0.1779, allocations: 16.91 kB / 452 MB, free: 38.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.598e-05/0.178, allocations: 36.38 kB / 452 MB, free: 38.27 MB / 410.7 MB Notification: Performance of SimCode: time 6.82e-07/0.178, allocations: 0 / 452 MB, free: 38.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01749/0.1955, allocations: 4.282 MB / 456.3 MB, free: 36.88 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.686/6.882, allocations: 6.531 kB / 456.3 MB, free: 36.88 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test21_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.851811128668487]