Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.0009371/0.0009371, allocations: 83.69 kB / 20.67 MB, free: 3.891 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.0008502/0.0008502, 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.8722/0.8722, 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2227/0.2227, allocations: 32.8 MB / 293.5 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 439.7 MB, free: 4.164 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.398e-05/1.525e-05, allocations: 8.328 kB / 439.7 MB, free: 4.156 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.002095/0.00211, allocations: 1.712 MB / 441.4 MB, free: 2.426 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.003232, allocations: 0.9741 MB / 442.4 MB, free: 1.445 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.471e-05/0.003297, allocations: 0 / 442.4 MB, free: 1.445 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000248/0.003545, allocations: 43.81 kB / 442.4 MB, free: 1.402 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002493/0.003794, allocations: 103.4 kB / 442.5 MB, free: 1.301 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001353/0.003929, allocations: 71.67 kB / 442.6 MB, free: 1.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.004078, allocations: 107.6 kB / 442.7 MB, free: 1.125 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.499e-05/0.004163, allocations: 7.984 kB / 442.7 MB, free: 1.117 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.572e-05/0.004239, allocations: 55.83 kB / 442.7 MB, free: 1.062 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.362e-05/0.004302, allocations: 23.92 kB / 442.8 MB, free: 1.039 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.004317, allocations: 4 kB / 442.8 MB, free: 1.035 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.442e-05/0.004392, allocations: 51.84 kB / 442.8 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.052e-05/0.004442, allocations: 23.86 kB / 442.8 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.377e-05/0.004476, allocations: 23.92 kB / 442.9 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.004641, allocations: 115.6 kB / 443 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.004643, allocations: 0 / 443 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.004643, allocations: 0 / 443 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.004649, allocations: 4 kB / 443 MB, free: 0.8203 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.0004307/0.005079, allocations: 349.5 kB / 443.3 MB, free: 460 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.005118, allocations: 8.031 kB / 443.3 MB, free: 452 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.063e-05/0.005149, allocations: 42.69 kB / 443.4 MB, free: 400 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.826e-05/0.005177, allocations: 8.891 kB / 443.4 MB, free: 392 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.005359, allocations: 146.3 kB / 443.5 MB, free: 220 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.005371, allocations: 4.375 kB / 443.5 MB, free: 216 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.005389, allocations: 12.3 kB / 443.5 MB, free: 204 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.005512, allocations: 57.98 kB / 443.6 MB, free: 140 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.005523, allocations: 0 / 443.6 MB, free: 140 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.005534, allocations: 4 kB / 443.6 MB, free: 136 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.005539, allocations: 0 / 443.6 MB, free: 136 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.201e-05/0.005591, allocations: 19.98 kB / 443.6 MB, free: 116 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1571/0.1627, allocations: 252.7 kB / 443.9 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.1629, allocations: 56.92 kB / 443.9 MB, free: 46.33 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.464e-05/0.1629, allocations: 21.47 kB / 443.9 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.1629, allocations: 5.469 kB / 444 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001227/0.163, allocations: 66.66 kB / 444 MB, free: 46.28 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.753e-06/0.163, allocations: 0 / 444 MB, free: 46.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004234/0.1635, allocations: 193.9 kB / 444.2 MB, free: 46.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.1635, allocations: 56.27 kB / 444.3 MB, free: 46.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.1636, allocations: 206.5 kB / 444.5 MB, free: 46.08 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.583e-06/0.1636, allocations: 26.27 kB / 444.5 MB, free: 46.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.245e-05/0.1636, allocations: 99.89 kB / 444.6 MB, free: 45.97 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.1637, allocations: 31.52 kB / 444.6 MB, free: 45.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.908e-05/0.1637, allocations: 26.14 kB / 444.6 MB, free: 45.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.282e-05/0.1637, allocations: 320.8 kB / 445 MB, free: 45.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.795e-05/0.1638, allocations: 23.48 kB / 445 MB, free: 45.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.901e-05/0.1638, allocations: 38.28 kB / 445 MB, free: 45.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.954e-05/0.1639, allocations: 61.52 kB / 445.1 MB, free: 45.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1639, allocations: 0 / 445.1 MB, free: 45.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001118/0.164, allocations: 115.5 kB / 445.2 MB, free: 45.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.164, allocations: 8.344 kB / 445.2 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.164, allocations: 0 / 445.2 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.1641, allocations: 1.531 kB / 445.2 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.506e-05/0.1641, allocations: 13.28 kB / 445.2 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1641, allocations: 9.062 kB / 445.2 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.088e-05/0.1642, allocations: 3.688 kB / 445.2 MB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.1642, allocations: 2.75 kB / 445.2 MB, free: 45.56 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.694e-05/0.1642, allocations: 132.1 kB / 445.4 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.121e-05/0.1642, allocations: 13.14 kB / 445.4 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001512/0.1644, allocations: 121.7 kB / 445.5 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.1644, allocations: 2.906 kB / 445.5 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.1644, allocations: 0 / 445.5 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1644, allocations: 0 / 445.5 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/0.1646, allocations: 380.6 kB / 445.9 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1646, allocations: 3.328 kB / 445.9 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.256e-05/0.1647, allocations: 8.844 kB / 445.9 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1647, allocations: 2.625 kB / 445.9 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.1647, allocations: 9.188 kB / 445.9 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1647, allocations: 1.375 kB / 445.9 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1647, allocations: 0 / 445.9 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.1648, allocations: 216.7 kB / 446.1 MB, free: 44.97 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.195e-05/0.1648, allocations: 13.06 kB / 446.1 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.1648, allocations: 7.375 kB / 446.1 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.881e-05/0.1649, allocations: 2.875 kB / 446.1 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.846e-05/0.1649, allocations: 6.062 kB / 446.1 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.1649, allocations: 9.219 kB / 446.1 MB, free: 44.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.286e-05/0.165, allocations: 150.2 kB / 446.3 MB, free: 44.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.165, allocations: 0 / 446.3 MB, free: 44.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001798/0.1652, allocations: 25.7 kB / 446.3 MB, free: 44.86 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.0009786/0.1661, allocations: 1.147 MB / 447.5 MB, free: 44.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001424/0.1663, allocations: 60.83 kB / 447.5 MB, free: 44.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1663, allocations: 4.062 kB / 447.5 MB, free: 44.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.318e-05/0.1663, allocations: 24.92 kB / 447.5 MB, free: 44.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.1666, allocations: 25.73 kB / 447.6 MB, free: 44.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009773/0.1675, allocations: 1.682 MB / 449.2 MB, free: 42.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.169e-05/0.1676, allocations: 92.39 kB / 449.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.252e-05/0.1676, allocations: 21.58 kB / 449.4 MB, free: 42.63 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.845e-05/0.1677, allocations: 39.69 kB / 449.4 MB, free: 42.61 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1677, allocations: 2.516 kB / 449.4 MB, free: 42.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01517/0.1829, allocations: 4.284 MB / 453.7 MB, free: 41.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.971/7.154, allocations: 8.922 kB / 453.7 MB, free: 41.21 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004996 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.161366770975292]