Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.001049/0.001049, 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.001277/0.001277, 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.2 MB, free: 5.742 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.2274/0.2274, allocations: 32.78 MB / 293.5 MB, free: 1.238 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.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 3.938 kB / 439.7 MB, free: 4.176 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.331e-05/1.499e-05, allocations: 6.281 kB / 439.7 MB, free: 4.168 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002889/0.002904, allocations: 1.71 MB / 441.4 MB, free: 2.441 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.004514, allocations: 0.9742 MB / 442.4 MB, free: 1.461 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.139e-05/0.004595, allocations: 3.938 kB / 442.4 MB, free: 1.457 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002921/0.004887, allocations: 35.83 kB / 442.4 MB, free: 1.422 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003555/0.005243, allocations: 99.41 kB / 442.5 MB, free: 1.324 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002237/0.005466, allocations: 75.67 kB / 442.6 MB, free: 1.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001952/0.005661, allocations: 111.6 kB / 442.7 MB, free: 1.141 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.634e-05/0.005758, allocations: 4 kB / 442.7 MB, free: 1.137 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.005868, allocations: 51.84 kB / 442.7 MB, free: 1.086 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.344e-05/0.005951, allocations: 35.89 kB / 442.8 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.005971, allocations: 4 kB / 442.8 MB, free: 1.047 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.006077, allocations: 47.86 kB / 442.8 MB, free: 1 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.178e-05/0.006139, allocations: 27.84 kB / 442.8 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.126e-05/0.00618, allocations: 15.94 kB / 442.9 MB, free: 0.957 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.006392, allocations: 115.6 kB / 443 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.006395, allocations: 0 / 443 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.006396, allocations: 0 / 443 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.0064, allocations: 0 / 443 MB, free: 0.8438 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.0006242/0.007024, allocations: 337.6 kB / 443.3 MB, free: 496 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.007063, allocations: 16.03 kB / 443.3 MB, free: 480 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.828e-05/0.007102, allocations: 38.67 kB / 443.4 MB, free: 432 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.007139, allocations: 16.78 kB / 443.4 MB, free: 416 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.007366, allocations: 150.2 kB / 443.5 MB, free: 240 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.007381, allocations: 384 / 443.5 MB, free: 240 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.007403, allocations: 8.312 kB / 443.5 MB, free: 232 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.007557, allocations: 57.98 kB / 443.6 MB, free: 168 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.007569, allocations: 0 / 443.6 MB, free: 168 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.007578, allocations: 0 / 443.6 MB, free: 168 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.007584, allocations: 4 kB / 443.6 MB, free: 164 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.991e-05/0.007664, allocations: 19.98 kB / 443.6 MB, free: 144 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1689/0.1766, allocations: 257 kB / 443.9 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.1768, allocations: 55.7 kB / 443.9 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.15e-05/0.1768, allocations: 20.12 kB / 443.9 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.1768, allocations: 7.453 kB / 443.9 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001393/0.177, allocations: 68.12 kB / 444 MB, free: 46.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.344e-06/0.177, allocations: 0 / 444 MB, free: 46.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004905/0.1775, allocations: 184.9 kB / 444.2 MB, free: 46.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.1775, allocations: 54.72 kB / 444.2 MB, free: 46.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.1776, allocations: 186.4 kB / 444.4 MB, free: 46.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.737e-06/0.1776, allocations: 29.45 kB / 444.5 MB, free: 46.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.64e-05/0.1776, allocations: 103.2 kB / 444.6 MB, free: 45.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/0.1777, allocations: 25.91 kB / 444.6 MB, free: 45.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.1777, allocations: 21.73 kB / 444.6 MB, free: 45.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.059e-05/0.1778, allocations: 324.4 kB / 444.9 MB, free: 45.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.195e-05/0.1778, allocations: 22.38 kB / 444.9 MB, free: 45.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.234e-05/0.1778, allocations: 40.06 kB / 445 MB, free: 45.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.804e-05/0.1779, allocations: 60.44 kB / 445 MB, free: 45.58 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1779, allocations: 0 / 445 MB, free: 45.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00011/0.178, allocations: 114.9 kB / 445.2 MB, free: 45.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.178, allocations: 7.312 kB / 445.2 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.178, allocations: 1.812 kB / 445.2 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.1781, allocations: 2.875 kB / 445.2 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.532e-05/0.1781, allocations: 14.91 kB / 445.2 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1781, allocations: 3.203 kB / 445.2 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.326e-05/0.1782, allocations: 6.906 kB / 445.2 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.1782, allocations: 2.844 kB / 445.2 MB, free: 45.54 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 6.238e-05/0.1782, allocations: 128.1 kB / 445.3 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.151e-05/0.1783, allocations: 21.78 kB / 445.3 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001556/0.1784, allocations: 122.2 kB / 445.5 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.1784, allocations: 0 / 445.5 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1784, allocations: 0 / 445.5 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1784, allocations: 3.281 kB / 445.5 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002611/0.1787, allocations: 373.1 kB / 445.8 MB, free: 45.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1787, allocations: 2.625 kB / 445.8 MB, free: 45.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.183e-05/0.1787, allocations: 11.12 kB / 445.8 MB, free: 45.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1787, allocations: 0 / 445.8 MB, free: 45.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.1787, allocations: 5.281 kB / 445.8 MB, free: 45.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.1787, allocations: 1.375 kB / 445.8 MB, free: 45.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1787, allocations: 2.562 kB / 445.8 MB, free: 45.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.1788, allocations: 217 kB / 446.1 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.073e-05/0.1788, allocations: 12.05 kB / 446.1 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.1789, allocations: 6.594 kB / 446.1 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.897e-05/0.1789, allocations: 3.234 kB / 446.1 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.005e-05/0.1789, allocations: 9.609 kB / 446.1 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.1789, allocations: 5.125 kB / 446.1 MB, free: 44.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.817e-05/0.179, allocations: 139.4 kB / 446.2 MB, free: 44.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.179, allocations: 0 / 446.2 MB, free: 44.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001744/0.1792, allocations: 27.69 kB / 446.3 MB, free: 44.84 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.0008954/0.1801, allocations: 1.147 MB / 447.4 MB, free: 44.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000117/0.1802, allocations: 57.7 kB / 447.5 MB, free: 44.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1802, allocations: 4 kB / 447.5 MB, free: 44.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.865e-05/0.1802, allocations: 24.91 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.0002282/0.1805, allocations: 31.58 kB / 447.5 MB, free: 44.06 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009416/0.1814, allocations: 1.648 MB / 449.2 MB, free: 42.72 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.379e-05/0.1814, allocations: 96.47 kB / 449.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.919e-05/0.1815, allocations: 17.41 kB / 449.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.084e-05/0.1815, allocations: 36.52 kB / 449.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1815, allocations: 0 / 449.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01468/0.1962, allocations: 4.233 MB / 453.5 MB, free: 41.22 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.049/7.245, allocations: 5.5 kB / 453.6 MB, free: 41.22 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_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_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.259705263189971]