Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.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.0009062/0.0009062, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.0008749/0.0008749, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9112/0.9112, allocations: 158.6 MB / 185 MB, free: 3.023 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1369/0.1369, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 3.938 kB / 406.9 MB, free: 2.168 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024e-05/1.156e-05, allocations: 6.078 kB / 406.9 MB, free: 2.164 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.001921/0.001933, allocations: 1.676 MB / 408.6 MB, free: 484 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008399/0.002772, allocations: 0.7842 MB / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.53e-05/0.002848, allocations: 0 / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000303/0.003151, allocations: 39.72 kB / 409.4 MB, free: 15.64 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002362/0.003387, allocations: 55.69 kB / 409.5 MB, free: 15.59 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002479/0.003635, allocations: 95.64 kB / 409.6 MB, free: 15.49 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.003789, allocations: 103.6 kB / 409.7 MB, free: 15.39 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.771e-05/0.003887, allocations: 8.234 kB / 409.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.258e-05/0.00398, allocations: 51.84 kB / 409.7 MB, free: 15.33 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.553e-05/0.004055, allocations: 27.89 kB / 409.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.004076, allocations: 4 kB / 409.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.218e-05/0.004158, allocations: 35.94 kB / 409.8 MB, free: 15.27 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.975e-05/0.004218, allocations: 23.92 kB / 409.8 MB, free: 15.24 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.213e-05/0.00426, allocations: 23.91 kB / 409.8 MB, free: 15.22 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.00445, allocations: 115.5 kB / 410 MB, free: 15.11 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.004452, allocations: 3.938 kB / 410 MB, free: 15.1 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.004453, allocations: 0 / 410 MB, free: 15.1 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.004458, allocations: 0 / 410 MB, free: 15.1 MB / 394.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.0004439/0.004902, allocations: 337.7 kB / 410.3 MB, free: 14.74 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.004942, allocations: 12.03 kB / 410.3 MB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.913e-05/0.004971, allocations: 34.75 kB / 410.3 MB, free: 14.69 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.17e-05/0.005003, allocations: 12.84 kB / 410.3 MB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.005185, allocations: 146.2 kB / 410.5 MB, free: 14.51 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.005196, allocations: 384 / 410.5 MB, free: 14.51 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.005214, allocations: 4.375 kB / 410.5 MB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.005326, allocations: 61.92 kB / 410.6 MB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.005336, allocations: 0 / 410.6 MB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.005346, allocations: 8 kB / 410.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.005352, allocations: 3.984 kB / 410.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.161e-05/0.005404, allocations: 19.98 kB / 410.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002781/0.005682, allocations: 252 kB / 410.8 MB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.005804, allocations: 58.61 kB / 410.9 MB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.498e-05/0.005839, allocations: 24.84 kB / 410.9 MB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.005852, allocations: 0 / 410.9 MB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001137/0.005966, allocations: 71.34 kB / 411 MB, free: 13.94 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 8.62e-07/0.005967, allocations: 0 / 411 MB, free: 13.94 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004079/0.006375, allocations: 193.3 kB / 411.2 MB, free: 13.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.006407, allocations: 51.41 kB / 411.2 MB, free: 13.68 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.006531, allocations: 190.2 kB / 411.4 MB, free: 13.49 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.006546, allocations: 33.7 kB / 411.4 MB, free: 13.45 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.591e-05/0.006592, allocations: 100.1 kB / 411.5 MB, free: 13.35 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.00662, allocations: 27.78 kB / 411.6 MB, free: 13.32 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.01e-05/0.00665, allocations: 17.72 kB / 411.6 MB, free: 13.3 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.976e-05/0.006739, allocations: 326.8 kB / 411.9 MB, free: 12.97 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.832e-05/0.006778, allocations: 23.98 kB / 411.9 MB, free: 12.95 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.466e-05/0.006822, allocations: 45.64 kB / 412 MB, free: 12.89 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.397e-05/0.006896, allocations: 65.69 kB / 412 MB, free: 12.82 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.006898, allocations: 0 / 412 MB, free: 12.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000123/0.007021, allocations: 105.6 kB / 412.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.007036, allocations: 7.984 kB / 412.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.007042, allocations: 0 / 412.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.007055, allocations: 192 / 412.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.16e-05/0.007127, allocations: 16 kB / 412.2 MB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.007134, allocations: 3.938 kB / 412.2 MB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.03e-05/0.007164, allocations: 8.031 kB / 412.2 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.007174, allocations: 7.984 kB / 412.2 MB, free: 12.67 MB / 394.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 8.919e-05/0.007264, allocations: 129.7 kB / 412.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.329e-05/0.007277, allocations: 11.95 kB / 412.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001774/0.007454, allocations: 114.4 kB / 412.4 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.007457, allocations: 0 / 412.4 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.007462, allocations: 3.984 kB / 412.4 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.007466, allocations: 0 / 412.4 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003198/0.007786, allocations: 370.3 kB / 412.8 MB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.007788, allocations: 4.031 kB / 412.8 MB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.704e-05/0.007816, allocations: 15.92 kB / 412.8 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.007819, allocations: 4 kB / 412.8 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.007827, allocations: 0 / 412.8 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.007829, allocations: 384 / 412.8 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.007831, allocations: 3.938 kB / 412.8 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.00797, allocations: 212.3 kB / 413 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.559e-05/0.007986, allocations: 19.91 kB / 413 MB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.008001, allocations: 4 kB / 413.1 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.846e-05/0.008039, allocations: 3.938 kB / 413.1 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.008072, allocations: 19.92 kB / 413.1 MB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.008086, allocations: 4 kB / 413.1 MB, free: 11.69 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.134e-05/0.008167, allocations: 144.1 kB / 413.2 MB, free: 11.55 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008167, allocations: 0 / 413.2 MB, free: 11.55 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001764/0.008343, allocations: 23.94 kB / 413.2 MB, free: 11.52 MB / 394.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.0009386/0.009282, allocations: 1.129 MB / 414.4 MB, free: 10.4 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001246/0.009407, allocations: 55.91 kB / 414.4 MB, free: 10.34 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.009409, allocations: 4 kB / 414.4 MB, free: 10.34 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.429e-05/0.009453, allocations: 31.92 kB / 414.5 MB, free: 10.31 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.00968, allocations: 28.23 kB / 414.5 MB, free: 10.28 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.01081, allocations: 1.662 MB / 416.2 MB, free: 8.516 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.83e-05/0.01087, allocations: 84.31 kB / 416.2 MB, free: 8.41 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.778e-05/0.01091, allocations: 12.48 kB / 416.2 MB, free: 8.398 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.782e-05/0.01096, allocations: 36.48 kB / 416.3 MB, free: 8.363 MB / 394.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01096, allocations: 0 / 416.3 MB, free: 8.363 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01489/0.02585, allocations: 4.207 MB / 420.5 MB, free: 4.027 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.999/7.025, allocations: 11.78 kB / 420.5 MB, free: 4.016 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_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_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.18861182127148]