Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.001504/0.001504, allocations: 77.88 kB / 21.42 MB, free: 3.078 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.001229/0.001229, allocations: 170.9 kB / 24.82 MB, free: 8.938 MB / 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 1.155/1.155, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3412/0.3412, allocations: 34.25 MB / 296.1 MB, free: 0.7266 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 378.5 MB, free: 2.371 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.025e-05/4.254e-05, allocations: 5.125 kB / 378.5 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003199/0.003242, allocations: 1.697 MB / 380.2 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.00434, allocations: 0.5685 MB / 380.8 MB, free: 84 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.004462, allocations: 4 kB / 380.8 MB, free: 80 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006284/0.00509, allocations: 451.1 kB / 381.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000561/0.005651, allocations: 307.1 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005121/0.006163, allocations: 175.5 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000352/0.006515, allocations: 179.7 kB / 381.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.006638, allocations: 12.22 kB / 381.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001874/0.006825, allocations: 123.7 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002503/0.007076, allocations: 243.6 kB / 382.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.007099, allocations: 4 kB / 382.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001401/0.007239, allocations: 51.92 kB / 382.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.007356, allocations: 91.64 kB / 382.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.821e-05/0.007405, allocations: 39.73 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003168/0.007721, allocations: 219 kB / 382.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.007726, allocations: 0 / 382.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.007729, allocations: 0 / 382.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.007735, allocations: 0 / 382.7 MB, free: 14.21 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008103/0.008545, allocations: 0.7086 MB / 383.4 MB, free: 13.47 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.676e-05/0.008602, allocations: 12.03 kB / 383.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.866e-05/0.008681, allocations: 44.66 kB / 383.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.008924, allocations: 244.9 kB / 383.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.008937, allocations: 12.36 kB / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.008965, allocations: 8.312 kB / 383.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.009112, allocations: 54.95 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.009125, allocations: 192 / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.009137, allocations: 8.125 kB / 383.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.009144, allocations: 4 kB / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.663e-05/0.009171, allocations: 7.984 kB / 383.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004248/0.009596, allocations: 348.2 kB / 384.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.25e-05/0.009668, allocations: 43.03 kB / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.254e-05/0.009691, allocations: 15.62 kB / 384.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/0.009719, allocations: 7.984 kB / 384.2 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.009746, allocations: 41.42 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.482e-06/0.009747, allocations: 0 / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006491/0.0104, allocations: 189.2 kB / 384.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.01043, allocations: 55.41 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004401/0.01087, allocations: 0.6079 MB / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.01089, allocations: 25.7 kB / 385.1 MB, free: 11.63 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.01107, allocations: 302.7 kB / 385.4 MB, free: 11.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.738e-05/0.01111, allocations: 31.75 kB / 385.4 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.925e-05/0.01115, allocations: 31.36 kB / 385.4 MB, free: 11.26 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002085/0.01136, allocations: 0.5585 MB / 386 MB, free: 10.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.901e-05/0.01138, allocations: 4 kB / 386 MB, free: 10.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.203e-05/0.0114, allocations: 15.97 kB / 386 MB, free: 10.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.289e-05/0.01146, allocations: 31.62 kB / 386 MB, free: 10.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01146, allocations: 0 / 386 MB, free: 10.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001237/0.01158, allocations: 97.41 kB / 386.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.0116, allocations: 8 kB / 386.1 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.01161, allocations: 0 / 386.1 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.01162, allocations: 7.984 kB / 386.1 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.048e-05/0.01171, allocations: 12 kB / 386.2 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.01172, allocations: 0 / 386.2 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.285e-05/0.01175, allocations: 11.98 kB / 386.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.391e-06/0.01175, allocations: 0 / 386.2 MB, free: 10.5 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 (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 9.902e-05/0.01185, allocations: 168.4 kB / 386.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.039e-05/0.01189, allocations: 47.67 kB / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001656/0.01206, allocations: 109.5 kB / 386.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.01206, allocations: 0 / 386.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.01207, allocations: 8 kB / 386.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.01207, allocations: 0 / 386.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005793/0.01265, allocations: 429.8 kB / 386.9 MB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.01265, allocations: 0 / 386.9 MB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.002e-05/0.01273, allocations: 27.92 kB / 386.9 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.01274, allocations: 0 / 386.9 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.01275, allocations: 0 / 386.9 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.247e-06/0.01275, allocations: 0 / 386.9 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.01275, allocations: 4 kB / 386.9 MB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.01299, allocations: 267.3 kB / 387.2 MB, free: 9.375 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.949e-05/0.01302, allocations: 39.73 kB / 387.2 MB, free: 9.336 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.01304, allocations: 8 kB / 387.3 MB, free: 9.328 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.192e-05/0.0131, allocations: 0 / 387.3 MB, free: 9.328 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.01313, allocations: 7.984 kB / 387.3 MB, free: 9.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.01314, allocations: 7.938 kB / 387.3 MB, free: 9.312 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002338/0.01337, allocations: 398.6 kB / 387.7 MB, free: 8.926 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01337, allocations: 0 / 387.7 MB, free: 8.926 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001882/0.01356, allocations: 28 kB / 387.7 MB, free: 8.898 MB / 362.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: 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.001182/0.01474, allocations: 433.5 kB / 388.1 MB, free: 8.633 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001024/0.01484, allocations: 39.66 kB / 388.2 MB, free: 8.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.01485, allocations: 0 / 388.2 MB, free: 8.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.956e-05/0.01488, allocations: 27.61 kB / 388.2 MB, free: 8.559 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.01515, allocations: 29.89 kB / 388.2 MB, free: 8.531 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007669/0.01591, allocations: 0.6041 MB / 388.8 MB, free: 7.895 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/0.01601, allocations: 131.2 kB / 388.9 MB, free: 7.746 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.53e-05/0.01606, allocations: 21.03 kB / 389 MB, free: 7.727 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.664e-05/0.01614, allocations: 90.12 kB / 389 MB, free: 7.637 MB / 362.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01614, allocations: 0 / 389 MB, free: 7.637 MB / 362.7 MB Notification: Performance of Templates: time 0.005434/0.02157, allocations: 1.779 MB / 390.8 MB, free: 5.867 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/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.6374111929908395]