Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 110 kB / 21.23 MB, free: 0.6602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 186.4 kB / 24.51 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] 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.2349/0.2349, allocations: 44.9 MB / 353.5 MB, free: 11.84 MB / 286.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 59.91 kB / 497.7 MB, free: 1.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.45/0.4521, allocations: 64.3 MB / 0.5488 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003203/0.4553, allocations: 1.607 MB / 0.5504 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008284/0.4561, allocations: 426.9 kB / 0.5508 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.571e-05/0.4562, allocations: 1.375 kB / 0.5508 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003343/0.4566, allocations: 122.4 kB / 0.5509 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002314/0.4568, allocations: 92.47 kB / 0.551 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002758/0.4571, allocations: 86.73 kB / 0.5511 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001911/0.4573, allocations: 86.05 kB / 0.5512 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.4574, allocations: 19.89 kB / 0.5512 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.225e-05/0.4574, allocations: 46.36 kB / 0.5512 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.4576, allocations: 89.45 kB / 0.5513 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.4576, allocations: 7.062 kB / 0.5513 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.4577, allocations: 46.55 kB / 0.5514 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.891e-05/0.4578, allocations: 31.98 kB / 0.5514 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.146e-05/0.4578, allocations: 33.47 kB / 0.5514 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.4581, allocations: 119 kB / 0.5516 GB, free: 11.15 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.4581, allocations: 1.062 kB / 0.5516 GB, free: 11.15 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.4581, allocations: 0 / 0.5516 GB, free: 11.15 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.4581, allocations: 0 / 0.5516 GB, free: 11.15 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005715/0.4586, allocations: 355.7 kB / 0.5519 GB, free: 10.8 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.4587, allocations: 17.3 kB / 0.5519 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.314e-05/0.4587, allocations: 15.22 kB / 0.5519 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.459, allocations: 151.8 kB / 0.5521 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.459, allocations: 1.531 kB / 0.5521 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.459, allocations: 2.812 kB / 0.5521 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.4592, allocations: 59.39 kB / 0.5521 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.4592, allocations: 0 / 0.5521 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.4592, allocations: 3.984 kB / 0.5521 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.4592, allocations: 1.469 kB / 0.5521 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.4593, allocations: 26.8 kB / 0.5522 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004619/0.4597, allocations: 276.9 kB / 0.5524 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.4599, allocations: 37.88 kB / 0.5525 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.352e-05/0.4599, allocations: 16.97 kB / 0.5525 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.4599, allocations: 1.188 kB / 0.5525 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.46, allocations: 34.56 kB / 0.5525 GB, free: 10.19 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.46, allocations: 5.312 kB / 0.5525 GB, free: 10.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009413/0.4609, allocations: 233 kB / 0.5527 GB, free: 10.05 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.461, allocations: 52.44 kB / 0.5528 GB, free: 9.992 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002881/0.4612, allocations: 272.8 kB / 0.5531 GB, free: 9.816 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.4613, allocations: 30.98 kB / 0.5531 GB, free: 9.781 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.388e-05/0.4613, allocations: 106.8 kB / 0.5532 GB, free: 9.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.538e-05/0.4614, allocations: 31.42 kB / 0.5532 GB, free: 9.652 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.319e-05/0.4614, allocations: 19.56 kB / 0.5532 GB, free: 9.633 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.4616, allocations: 327.4 kB / 0.5535 GB, free: 9.309 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.632e-05/0.4617, allocations: 29.91 kB / 0.5536 GB, free: 9.293 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.462e-05/0.4617, allocations: 29.67 kB / 0.5536 GB, free: 9.277 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/0.4619, allocations: 60.2 kB / 0.5537 GB, free: 9.246 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.4619, allocations: 0 / 0.5537 GB, free: 9.246 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002245/0.4621, allocations: 104.5 kB / 0.5538 GB, free: 9.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.4621, allocations: 5.844 kB / 0.5538 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.4621, allocations: 80 / 0.5538 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.4622, allocations: 5.031 kB / 0.5538 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.4623, allocations: 22.02 kB / 0.5538 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.4623, allocations: 7.922 kB / 0.5538 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.927e-05/0.4623, allocations: 11.55 kB / 0.5538 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.4623, allocations: 2.375 kB / 0.5538 GB, free: 9.152 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 0.0001112/0.4624, allocations: 137.6 kB / 0.5539 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.369e-05/0.4625, allocations: 13.72 kB / 0.554 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002791/0.4628, allocations: 121.2 kB / 0.5541 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.4628, allocations: 1.094 kB / 0.5541 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.4628, allocations: 5.219 kB / 0.5541 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.4628, allocations: 0 / 0.5541 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006349/0.4634, allocations: 382.1 kB / 0.5544 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.4634, allocations: 0 / 0.5544 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.089e-05/0.4635, allocations: 21.95 kB / 0.5545 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.4635, allocations: 5.406 kB / 0.5545 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.4635, allocations: 5.125 kB / 0.5545 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.4635, allocations: 0 / 0.5545 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4635, allocations: 1.062 kB / 0.5545 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003197/0.4638, allocations: 205.1 kB / 0.5547 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.46e-05/0.4639, allocations: 16.58 kB / 0.5547 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.4639, allocations: 5.156 kB / 0.5547 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.808e-05/0.464, allocations: 7.5 kB / 0.5547 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.464, allocations: 6.172 kB / 0.5547 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.464, allocations: 2.312 kB / 0.5547 GB, free: 8.359 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002125/0.4642, allocations: 213.5 kB / 0.5549 GB, free: 8.227 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4642, allocations: 0 / 0.5549 GB, free: 8.227 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.4645, allocations: 26.03 kB / 0.5549 GB, free: 8.215 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001753/0.4662, allocations: 461.3 kB / 0.5554 GB, free: 7.992 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002544/0.4665, allocations: 60.81 kB / 0.5554 GB, free: 7.969 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4665, allocations: 0 / 0.5554 GB, free: 7.969 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.927e-05/0.4666, allocations: 40.75 kB / 0.5555 GB, free: 7.949 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004191/0.467, allocations: 31.72 kB / 0.5555 GB, free: 7.93 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000672/0.4677, allocations: 289.9 kB / 0.5558 GB, free: 7.727 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004036/0.4681, allocations: 0.7153 MB / 0.5565 GB, free: 7.012 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.369e-05/0.4682, allocations: 8.141 kB / 0.5565 GB, free: 7.008 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.924e-05/0.4682, allocations: 17 kB / 0.5565 GB, free: 6.996 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4682, allocations: 0 / 0.5565 GB, free: 6.996 MB / 398.1 MB Notification: Performance of Templates: time 0.005123/0.4733, allocations: 1.406 MB / 0.5579 GB, free: 6.035 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.6500305868685246]