Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.0009109/0.0009109, allocations: 79.75 kB / 21.18 MB, free: 3.375 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.001063/0.001063, allocations: 161 kB / 24.56 MB, free: 8 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9941/0.9941, allocations: 177.1 MB / 205 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.3177/0.3177, allocations: 32.81 MB / 294.3 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 376 MB, free: 4.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.013e-05/3.193e-05, allocations: 2.312 kB / 376 MB, free: 4.633 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.003695/0.003727, allocations: 1.64 MB / 377.7 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009117/0.004638, allocations: 0.5414 MB / 378.2 MB, free: 2.434 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.967e-05/0.004708, allocations: 0 / 378.2 MB, free: 2.434 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002176/0.004926, allocations: 19.86 kB / 378.2 MB, free: 2.414 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003117/0.005237, allocations: 87.55 kB / 378.3 MB, free: 2.328 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002889/0.005526, allocations: 107.6 kB / 378.4 MB, free: 2.223 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.005688, allocations: 75.7 kB / 378.5 MB, free: 2.148 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.005819, allocations: 7.984 kB / 378.5 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.15e-05/0.005901, allocations: 31.91 kB / 378.5 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.184e-05/0.005982, allocations: 19.92 kB / 378.6 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.006004, allocations: 4 kB / 378.6 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.006117, allocations: 27.98 kB / 378.6 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.986e-05/0.006187, allocations: 15.92 kB / 378.6 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.59e-05/0.006223, allocations: 8 kB / 378.6 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001767/0.0064, allocations: 75.67 kB / 378.7 MB, free: 1.961 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.006402, allocations: 0 / 378.7 MB, free: 1.961 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.006404, allocations: 0 / 378.7 MB, free: 1.961 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.006408, allocations: 4 kB / 378.7 MB, free: 1.957 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005165/0.006925, allocations: 412.1 kB / 379.1 MB, free: 1.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.006971, allocations: 12.03 kB / 379.1 MB, free: 1.508 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.732e-05/0.007018, allocations: 8.891 kB / 379.1 MB, free: 1.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.007171, allocations: 132.5 kB / 379.2 MB, free: 1.344 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-06/0.007179, allocations: 384 / 379.2 MB, free: 1.344 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.007206, allocations: 384 / 379.2 MB, free: 1.344 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.00734, allocations: 62.88 kB / 379.3 MB, free: 1.273 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.00735, allocations: 192 / 379.3 MB, free: 1.273 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.007361, allocations: 4.125 kB / 379.3 MB, free: 1.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.007369, allocations: 8 kB / 379.3 MB, free: 1.262 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.166e-05/0.007401, allocations: 8 kB / 379.3 MB, free: 1.254 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003264/0.007727, allocations: 271.8 kB / 379.6 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.007953, allocations: 46.98 kB / 379.6 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.614e-05/0.007989, allocations: 11.69 kB / 379.6 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.008016, allocations: 3.938 kB / 379.6 MB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.008045, allocations: 37.47 kB / 379.7 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.923e-06/0.008047, allocations: 0 / 379.7 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004822/0.008529, allocations: 109.4 kB / 379.8 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.008564, allocations: 55.41 kB / 379.8 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.008686, allocations: 196.8 kB / 380 MB, free: 452 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.008697, allocations: 29.69 kB / 380.1 MB, free: 416 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.072e-05/0.008758, allocations: 138.9 kB / 380.2 MB, free: 272 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/0.008789, allocations: 27.78 kB / 380.2 MB, free: 244 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.492e-05/0.008824, allocations: 23.36 kB / 380.3 MB, free: 212 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.008954, allocations: 0.4923 MB / 380.7 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.93e-05/0.008974, allocations: 7.984 kB / 380.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.453e-05/0.008988, allocations: 4 kB / 380.8 MB, free: 15.69 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.136e-05/0.00904, allocations: 27.56 kB / 380.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.00904, allocations: 4 kB / 380.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.311e-05/0.009134, allocations: 69.77 kB / 380.9 MB, free: 15.58 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.009151, allocations: 8 kB / 380.9 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.009157, allocations: 0 / 380.9 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.009174, allocations: 0 / 380.9 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.691e-05/0.009241, allocations: 11.98 kB / 380.9 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.009248, allocations: 0 / 380.9 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.254e-05/0.009271, allocations: 4 kB / 380.9 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.009278, allocations: 0 / 380.9 MB, free: 15.56 MB / 362.7 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 (5): * Single equations (assignments): 5 * 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.914e-05/0.009357, allocations: 156.6 kB / 381 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.293e-05/0.00938, allocations: 15.89 kB / 381 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001392/0.009519, allocations: 70.08 kB / 381.1 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.009523, allocations: 4 kB / 381.1 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.009528, allocations: 0 / 381.1 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.009532, allocations: 0 / 381.1 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.009813, allocations: 321.3 kB / 381.4 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.009814, allocations: 0 / 381.4 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.912e-05/0.009853, allocations: 12 kB / 381.4 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.009857, allocations: 3.984 kB / 381.4 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.009864, allocations: 0 / 381.4 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.009867, allocations: 0 / 381.4 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.009868, allocations: 0 / 381.4 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.009995, allocations: 215.8 kB / 381.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.778e-06/0.01001, allocations: 3.953 kB / 381.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.01002, allocations: 256 / 381.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.121e-05/0.01006, allocations: 12 kB / 381.7 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.0101, allocations: 3.984 kB / 381.7 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.0101, allocations: 4 kB / 381.7 MB, free: 14.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.458e-05/0.01017, allocations: 147.1 kB / 381.8 MB, free: 14.53 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01017, allocations: 0 / 381.8 MB, free: 14.53 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001693/0.01034, allocations: 19.98 kB / 381.8 MB, free: 14.51 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.000829/0.01117, allocations: 385.5 kB / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.488e-05/0.01126, allocations: 27.69 kB / 382.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01126, allocations: 0 / 382.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.59e-05/0.01129, allocations: 31.61 kB / 382.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.01151, allocations: 22.45 kB / 382.3 MB, free: 14.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003304/0.01184, allocations: 174.6 kB / 382.5 MB, free: 13.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.008e-05/0.01188, allocations: 63.33 kB / 382.5 MB, free: 13.9 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.165e-05/0.01192, allocations: 15.97 kB / 382.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.927e-05/0.01195, allocations: 12.5 kB / 382.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01195, allocations: 0 / 382.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of Templates: time 0.00364/0.01559, allocations: 1.171 MB / 383.7 MB, free: 12.71 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3751807338558137]