Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.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.0007881/0.0007881, allocations: 80.44 kB / 19.92 MB, free: 4.637 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.001101/0.001101, allocations: 177.2 kB / 23.21 MB, free: 1.344 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.9625/0.9625, allocations: 158.6 MB / 185 MB, free: 3.035 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.1339/0.1339, allocations: 32.38 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.Test52,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 406.9 MB, free: 2.172 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.54e-05/2.732e-05, allocations: 6.078 kB / 406.9 MB, free: 2.168 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003417/0.003444, allocations: 1.688 MB / 408.6 MB, free: 476 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.00488, allocations: 0.7803 MB / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.004992, allocations: 4 kB / 409.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003856/0.005378, allocations: 43.75 kB / 409.4 MB, free: 15.63 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003087/0.005686, allocations: 63.62 kB / 409.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003017/0.005988, allocations: 99.62 kB / 409.6 MB, free: 15.47 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002058/0.006194, allocations: 91.7 kB / 409.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002951/0.006489, allocations: 8.219 kB / 409.7 MB, free: 15.37 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.006619, allocations: 59.77 kB / 409.7 MB, free: 15.31 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.458e-05/0.006703, allocations: 19.92 kB / 409.8 MB, free: 15.29 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.006726, allocations: 7.938 kB / 409.8 MB, free: 15.29 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.006828, allocations: 43.91 kB / 409.8 MB, free: 15.24 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.482e-05/0.006893, allocations: 31.86 kB / 409.8 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.58e-05/0.006939, allocations: 15.94 kB / 409.9 MB, free: 15.2 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.007161, allocations: 123.6 kB / 410 MB, free: 15.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.007164, allocations: 0 / 410 MB, free: 15.07 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.007166, allocations: 4 kB / 410 MB, free: 15.07 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.007171, allocations: 0 / 410 MB, free: 15.07 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.0005733/0.007744, allocations: 349.5 kB / 410.3 MB, free: 14.7 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.007793, allocations: 11.97 kB / 410.3 MB, free: 14.69 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.331e-05/0.007836, allocations: 34.75 kB / 410.4 MB, free: 14.64 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.818e-05/0.007884, allocations: 12.84 kB / 410.4 MB, free: 14.63 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/0.008202, allocations: 149.6 kB / 410.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.008219, allocations: 384 / 410.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.008241, allocations: 4.375 kB / 410.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.008423, allocations: 65.97 kB / 410.6 MB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.008438, allocations: 0 / 410.6 MB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.00845, allocations: 0 / 410.6 MB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.008458, allocations: 4 kB / 410.6 MB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.013e-05/0.008538, allocations: 15.98 kB / 410.6 MB, free: 14.37 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004565/0.008995, allocations: 267.9 kB / 410.9 MB, free: 14.06 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.009173, allocations: 54.67 kB / 410.9 MB, free: 14 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.992e-05/0.009223, allocations: 20.84 kB / 411 MB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.00924, allocations: 0 / 411 MB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001838/0.009424, allocations: 75.33 kB / 411 MB, free: 13.89 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.793e-06/0.009426, allocations: 0 / 411 MB, free: 13.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006057/0.01003, allocations: 185.3 kB / 411.2 MB, free: 13.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.01008, allocations: 55.34 kB / 411.3 MB, free: 13.64 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/0.01032, allocations: 226.8 kB / 411.5 MB, free: 13.4 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.01034, allocations: 33.7 kB / 411.5 MB, free: 13.36 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.249e-05/0.01041, allocations: 108.1 kB / 411.6 MB, free: 13.25 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.151e-05/0.01046, allocations: 27.78 kB / 411.7 MB, free: 13.23 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.785e-05/0.0105, allocations: 21.72 kB / 411.7 MB, free: 13.2 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.01063, allocations: 330.8 kB / 412 MB, free: 12.87 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.555e-05/0.01068, allocations: 23.98 kB / 412 MB, free: 12.84 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.318e-05/0.01075, allocations: 38.08 kB / 412.1 MB, free: 12.8 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.01086, allocations: 65.81 kB / 412.1 MB, free: 12.73 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.01086, allocations: 0 / 412.1 MB, free: 12.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001884/0.01105, allocations: 109.5 kB / 412.2 MB, free: 12.62 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.01107, allocations: 8 kB / 412.2 MB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.01107, allocations: 3.938 kB / 412.2 MB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.01109, allocations: 3.984 kB / 412.2 MB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.259e-05/0.01116, allocations: 19.97 kB / 412.3 MB, free: 12.58 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.01117, allocations: 8.141 kB / 412.3 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.06e-05/0.0112, allocations: 0 / 412.3 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.0112, allocations: 4 kB / 412.3 MB, free: 12.57 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.175e-05/0.01129, allocations: 137.8 kB / 412.4 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.377e-05/0.0113, allocations: 7.953 kB / 412.4 MB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001762/0.01148, allocations: 127 kB / 412.5 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.01148, allocations: 0 / 412.5 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.01148, allocations: 0 / 412.5 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.01149, allocations: 0 / 412.5 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003143/0.0118, allocations: 386.3 kB / 412.9 MB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.01181, allocations: 0 / 412.9 MB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.875e-05/0.01183, allocations: 8 kB / 412.9 MB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.01184, allocations: 0 / 412.9 MB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.01185, allocations: 7.984 kB / 412.9 MB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.01185, allocations: 0 / 412.9 MB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.01185, allocations: 3.938 kB / 412.9 MB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.01203, allocations: 212.2 kB / 413.1 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.71e-05/0.01204, allocations: 11.95 kB / 413.2 MB, free: 11.6 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.01206, allocations: 8.031 kB / 413.2 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.022e-05/0.0121, allocations: 3.984 kB / 413.2 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.01214, allocations: 11.88 kB / 413.2 MB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.01216, allocations: 11.98 kB / 413.2 MB, free: 11.56 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001052/0.01226, allocations: 168.3 kB / 413.4 MB, free: 11.4 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01226, allocations: 0 / 413.4 MB, free: 11.4 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001907/0.01246, allocations: 27.92 kB / 413.4 MB, free: 11.37 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.001265/0.01372, allocations: 1.13 MB / 414.5 MB, free: 10.25 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001756/0.0139, allocations: 59.91 kB / 414.6 MB, free: 10.19 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.0139, allocations: 0 / 414.6 MB, free: 10.19 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.407e-05/0.01396, allocations: 31.98 kB / 414.6 MB, free: 10.16 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.01421, allocations: 32.23 kB / 414.6 MB, free: 10.13 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/0.01586, allocations: 1.748 MB / 416.4 MB, free: 8.289 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.973e-05/0.01596, allocations: 92.81 kB / 416.5 MB, free: 8.18 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.369e-05/0.01602, allocations: 12.48 kB / 416.5 MB, free: 8.164 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.679e-05/0.0161, allocations: 40.48 kB / 416.5 MB, free: 8.125 MB / 394.7 MB Notification: Performance of SimCode: time 9.32e-07/0.0161, allocations: 4 kB / 416.5 MB, free: 8.121 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01984/0.03594, allocations: 4.367 MB / 420.9 MB, free: 3.617 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.899/6.935, allocations: 15.91 kB / 420.9 MB, free: 3.602 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498703 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.208266260102391]