Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.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.0009701/0.0009701, allocations: 76.5 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.0008488/0.0008488, allocations: 173.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.8124/0.8124, 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.1237/0.1237, 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.Test42,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 406.9 MB, free: 2.152 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.611e-05/1.797e-05, allocations: 2.281 kB / 406.9 MB, free: 2.148 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.00207/0.002088, allocations: 1.68 MB / 408.6 MB, free: 468 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009461/0.003034, allocations: 0.7765 MB / 409.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.785e-05/0.003112, allocations: 3.938 kB / 409.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003296/0.003441, allocations: 47.77 kB / 409.4 MB, free: 15.62 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000217/0.003658, allocations: 59.69 kB / 409.5 MB, free: 15.56 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001871/0.003845, allocations: 91.62 kB / 409.6 MB, free: 15.47 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001411/0.003986, allocations: 99.64 kB / 409.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.203e-05/0.004079, allocations: 8.219 kB / 409.7 MB, free: 15.37 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.56e-05/0.004154, allocations: 55.77 kB / 409.7 MB, free: 15.31 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.139e-05/0.004215, allocations: 23.92 kB / 409.8 MB, free: 15.29 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.004232, allocations: 4 kB / 409.8 MB, free: 15.29 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.867e-05/0.004301, allocations: 47.91 kB / 409.8 MB, free: 15.24 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.116e-05/0.004382, allocations: 23.92 kB / 409.8 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.636e-05/0.004418, allocations: 19.88 kB / 409.9 MB, free: 15.2 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.004578, allocations: 115.6 kB / 410 MB, free: 15.08 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.00458, allocations: 3.938 kB / 410 MB, free: 15.08 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.004581, allocations: 0 / 410 MB, free: 15.08 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.004585, allocations: 0 / 410 MB, free: 15.08 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.0003738/0.004959, allocations: 341.6 kB / 410.3 MB, free: 14.71 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.004992, allocations: 8.031 kB / 410.3 MB, free: 14.71 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.75e-05/0.00502, allocations: 34.73 kB / 410.3 MB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.685e-05/0.005047, allocations: 8.891 kB / 410.4 MB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.005207, allocations: 162.2 kB / 410.5 MB, free: 14.47 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.005217, allocations: 4.375 kB / 410.5 MB, free: 14.47 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.005234, allocations: 384 / 410.5 MB, free: 14.47 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.00534, allocations: 57.98 kB / 410.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.005349, allocations: 4 kB / 410.6 MB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-06/0.005356, allocations: 0 / 410.6 MB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.00536, allocations: 0 / 410.6 MB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.708e-05/0.005407, allocations: 23.92 kB / 410.6 MB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002725/0.00568, allocations: 256 kB / 410.8 MB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.005796, allocations: 66.61 kB / 410.9 MB, free: 14.01 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.596e-05/0.005832, allocations: 24.84 kB / 410.9 MB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.005847, allocations: 0 / 410.9 MB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001135/0.00596, allocations: 67.39 kB / 411 MB, free: 13.91 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.005961, allocations: 0 / 411 MB, free: 13.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003993/0.006361, allocations: 193.3 kB / 411.2 MB, free: 13.71 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.006391, allocations: 51.41 kB / 411.2 MB, free: 13.65 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.006521, allocations: 203.3 kB / 411.4 MB, free: 13.44 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.006531, allocations: 25.7 kB / 411.5 MB, free: 13.41 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.006654, allocations: 104.1 kB / 411.6 MB, free: 13.3 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.006682, allocations: 27.78 kB / 411.6 MB, free: 13.28 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.006711, allocations: 25.66 kB / 411.6 MB, free: 13.25 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.048e-05/0.006792, allocations: 326.8 kB / 411.9 MB, free: 12.92 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.597e-05/0.006828, allocations: 23.98 kB / 412 MB, free: 12.89 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.036e-05/0.006868, allocations: 37.7 kB / 412 MB, free: 12.85 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.819e-05/0.006936, allocations: 57.7 kB / 412.1 MB, free: 12.79 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.006937, allocations: 0 / 412.1 MB, free: 12.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001139/0.007051, allocations: 121.6 kB / 412.2 MB, free: 12.66 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.007061, allocations: 4 kB / 412.2 MB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.007066, allocations: 0 / 412.2 MB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.007078, allocations: 192 / 412.2 MB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.957e-05/0.007138, allocations: 16 kB / 412.2 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.007143, allocations: 7.875 kB / 412.2 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.697e-05/0.00717, allocations: 7.984 kB / 412.2 MB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.007176, allocations: 4 kB / 412.2 MB, free: 12.62 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 6.733e-05/0.007243, allocations: 125.8 kB / 412.3 MB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.124e-05/0.007254, allocations: 11.94 kB / 412.3 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001472/0.007402, allocations: 127.1 kB / 412.5 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.007404, allocations: 4 kB / 412.5 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.007407, allocations: 0 / 412.5 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.007411, allocations: 0 / 412.5 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002776/0.007688, allocations: 374.3 kB / 412.8 MB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.007689, allocations: 0 / 412.8 MB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.136e-05/0.007711, allocations: 8 kB / 412.8 MB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.007712, allocations: 3.938 kB / 412.9 MB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.00772, allocations: 4 kB / 412.9 MB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.007722, allocations: 384 / 412.9 MB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.007724, allocations: 11.95 kB / 412.9 MB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.007852, allocations: 208.3 kB / 413.1 MB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.23e-05/0.007864, allocations: 19.91 kB / 413.1 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.007877, allocations: 0 / 413.1 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.711e-05/0.007915, allocations: 7.984 kB / 413.1 MB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.684e-05/0.007941, allocations: 11.94 kB / 413.1 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.007953, allocations: 7.984 kB / 413.1 MB, free: 11.63 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.481e-05/0.008027, allocations: 152.9 kB / 413.3 MB, free: 11.48 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008027, allocations: 0 / 413.3 MB, free: 11.48 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001608/0.008188, allocations: 23.94 kB / 413.3 MB, free: 11.46 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.0008976/0.009086, allocations: 1.128 MB / 414.4 MB, free: 10.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000113/0.009199, allocations: 59.92 kB / 414.5 MB, free: 10.28 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.0092, allocations: 8 kB / 414.5 MB, free: 10.27 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.977e-05/0.00924, allocations: 23.98 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.0002223/0.009462, allocations: 36.22 kB / 414.5 MB, free: 10.21 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.01076, allocations: 1.677 MB / 416.2 MB, free: 8.434 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.58e-05/0.01081, allocations: 88.31 kB / 416.3 MB, free: 8.324 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.3e-05/0.01085, allocations: 16.55 kB / 416.3 MB, free: 8.309 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.677e-05/0.01089, allocations: 36.48 kB / 416.4 MB, free: 8.273 MB / 394.7 MB Notification: Performance of SimCode: time 2.7e-07/0.01089, allocations: 0 / 416.4 MB, free: 8.273 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01708/0.02797, allocations: 4.24 MB / 420.6 MB, free: 3.891 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.048/7.076, allocations: 15.89 kB / 420.6 MB, free: 3.875 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498604 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.048465115949512]