Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.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.0008699/0.0008699, 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.001018/0.001018, allocations: 170.3 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.9195/0.9195, allocations: 158.6 MB / 185 MB, free: 3.043 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.1295/0.1295, 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.Test45,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 406.9 MB, free: 2.152 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.817e-05/1.978e-05, allocations: 2.281 kB / 406.9 MB, free: 2.148 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002479/0.002499, allocations: 1.676 MB / 408.6 MB, free: 472 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009614/0.00346, allocations: 0.7842 MB / 409.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.268e-05/0.003533, allocations: 0 / 409.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000311/0.003844, allocations: 47.7 kB / 409.4 MB, free: 15.62 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002256/0.004069, allocations: 55.7 kB / 409.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002503/0.00432, allocations: 91.69 kB / 409.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.004485, allocations: 99.64 kB / 409.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.004589, allocations: 8.219 kB / 409.7 MB, free: 15.37 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.746e-05/0.004676, allocations: 55.83 kB / 409.7 MB, free: 15.32 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.7e-05/0.004753, allocations: 15.92 kB / 409.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.004775, allocations: 4 kB / 409.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.741e-05/0.004862, allocations: 43.92 kB / 409.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.554e-05/0.004927, allocations: 31.91 kB / 409.8 MB, free: 15.22 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.195e-05/0.004969, allocations: 23.86 kB / 409.9 MB, free: 15.2 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.005155, allocations: 111.6 kB / 410 MB, free: 15.09 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.005157, allocations: 0 / 410 MB, free: 15.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.005158, allocations: 3.938 kB / 410 MB, free: 15.09 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.005163, allocations: 0 / 410 MB, free: 15.09 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.0005786/0.005741, allocations: 341.6 kB / 410.3 MB, free: 14.72 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.005781, allocations: 8.031 kB / 410.3 MB, free: 14.71 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.109e-05/0.005812, allocations: 34.75 kB / 410.3 MB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.814e-05/0.00585, allocations: 12.89 kB / 410.4 MB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/0.006041, allocations: 154.2 kB / 410.5 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.006054, allocations: 4.375 kB / 410.5 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.006073, allocations: 4.375 kB / 410.5 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.006205, allocations: 69.84 kB / 410.6 MB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.006217, allocations: 4 kB / 410.6 MB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.006226, allocations: 0 / 410.6 MB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.006231, allocations: 0 / 410.6 MB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.649e-05/0.006287, allocations: 19.98 kB / 410.6 MB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003271/0.006614, allocations: 252 kB / 410.9 MB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.006733, allocations: 66.61 kB / 410.9 MB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.181e-05/0.006765, allocations: 16.86 kB / 410.9 MB, free: 14 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.006779, allocations: 4 kB / 410.9 MB, free: 13.99 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001203/0.006899, allocations: 67.38 kB / 411 MB, free: 13.91 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.0069, allocations: 0 / 411 MB, free: 13.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003918/0.007292, allocations: 193.3 kB / 411.2 MB, free: 13.72 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.007322, allocations: 51.41 kB / 411.2 MB, free: 13.66 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.007448, allocations: 199.3 kB / 411.4 MB, free: 13.45 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.007461, allocations: 29.7 kB / 411.5 MB, free: 13.42 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.933e-05/0.00751, allocations: 108.1 kB / 411.6 MB, free: 13.31 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.007535, allocations: 23.8 kB / 411.6 MB, free: 13.29 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/0.007567, allocations: 25.7 kB / 411.6 MB, free: 13.25 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.371e-05/0.007651, allocations: 330.8 kB / 411.9 MB, free: 12.92 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.521e-05/0.007686, allocations: 19.98 kB / 412 MB, free: 12.9 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.191e-05/0.007728, allocations: 37.64 kB / 412 MB, free: 12.86 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.92e-05/0.007807, allocations: 57.72 kB / 412.1 MB, free: 12.8 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.007809, allocations: 3.984 kB / 412.1 MB, free: 12.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001216/0.007931, allocations: 113.6 kB / 412.2 MB, free: 12.68 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.007944, allocations: 4 kB / 412.2 MB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.007948, allocations: 0 / 412.2 MB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.007961, allocations: 4 kB / 412.2 MB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.718e-05/0.008029, allocations: 16.17 kB / 412.2 MB, free: 12.65 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.008034, allocations: 0 / 412.2 MB, free: 12.65 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.991e-05/0.008064, allocations: 7.938 kB / 412.2 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.00807, allocations: 0 / 412.2 MB, free: 12.64 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 7.681e-05/0.008147, allocations: 137.8 kB / 412.3 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.232e-05/0.008159, allocations: 11.89 kB / 412.4 MB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001678/0.008327, allocations: 123.2 kB / 412.5 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.008329, allocations: 0 / 412.5 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.008334, allocations: 0 / 412.5 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.008339, allocations: 7.922 kB / 412.5 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003022/0.008642, allocations: 374.3 kB / 412.8 MB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.008643, allocations: 0 / 412.8 MB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.619e-05/0.008669, allocations: 15.92 kB / 412.9 MB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.008672, allocations: 4.375 kB / 412.9 MB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-06/0.008681, allocations: 0 / 412.9 MB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.706e-06/0.008684, allocations: 4 kB / 412.9 MB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.008686, allocations: 7.969 kB / 412.9 MB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001452/0.008832, allocations: 208.3 kB / 413.1 MB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.411e-05/0.008846, allocations: 15.89 kB / 413.1 MB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.008865, allocations: 8 kB / 413.1 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.724e-05/0.008902, allocations: 0 / 413.1 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/0.008935, allocations: 11.92 kB / 413.1 MB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.008948, allocations: 4 kB / 413.1 MB, free: 11.64 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.604e-05/0.009034, allocations: 152.9 kB / 413.3 MB, free: 11.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009034, allocations: 0 / 413.3 MB, free: 11.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001879/0.009222, allocations: 27.94 kB / 413.3 MB, free: 11.47 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.001296/0.01052, allocations: 1.13 MB / 414.4 MB, free: 10.35 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001607/0.01068, allocations: 63.89 kB / 414.5 MB, free: 10.29 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.01068, allocations: 8.062 kB / 414.5 MB, free: 10.28 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.903e-05/0.01073, allocations: 31.92 kB / 414.5 MB, free: 10.25 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.01098, allocations: 32.17 kB / 414.6 MB, free: 10.21 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.01218, allocations: 1.674 MB / 416.2 MB, free: 8.438 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.642e-05/0.01225, allocations: 96.3 kB / 416.3 MB, free: 8.32 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.206e-05/0.01229, allocations: 16.56 kB / 416.3 MB, free: 8.305 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.121e-05/0.01234, allocations: 32.48 kB / 416.4 MB, free: 8.273 MB / 394.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01234, allocations: 4 kB / 416.4 MB, free: 8.27 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01638/0.02873, allocations: 4.253 MB / 420.6 MB, free: 3.883 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.962/6.991, allocations: 7.969 kB / 420.6 MB, free: 3.875 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000499301 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.169751174747944]