Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.0009909/0.0009909, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001851/0.001851, allocations: 161 kB / 24.56 MB, free: 20 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.9955/0.9955, allocations: 177.1 MB / 205 MB, free: 5.285 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.2611/0.2611, allocations: 34.26 MB / 295.7 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 180] 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 378 MB, free: 2.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.793e-05/3e-05, allocations: 8.703 kB / 378.1 MB, free: 2.664 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.002698/0.002728, allocations: 1.65 MB / 379.7 MB, free: 1 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009767/0.003705, allocations: 0.5569 MB / 380.3 MB, free: 448 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.739e-05/0.003772, allocations: 4 kB / 380.3 MB, free: 444 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000567/0.004339, allocations: 443.1 kB / 380.7 MB, free: 0 / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004995/0.004838, allocations: 303.1 kB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004006/0.005239, allocations: 163.5 kB / 381.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002696/0.005509, allocations: 171.6 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.577e-05/0.005604, allocations: 11.98 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.005745, allocations: 119.8 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002277/0.005972, allocations: 239.6 kB / 381.7 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.005992, allocations: 7.938 kB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.317e-05/0.006066, allocations: 23.94 kB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.643e-05/0.006162, allocations: 87.7 kB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.777e-05/0.00621, allocations: 35.75 kB / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002463/0.006456, allocations: 187.2 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.006458, allocations: 0 / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.00646, allocations: 4 kB / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.006464, allocations: 0 / 382 MB, free: 14.67 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000622/0.007086, allocations: 0.6854 MB / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.007125, allocations: 12.03 kB / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.33e-05/0.007189, allocations: 44.59 kB / 382.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004129/0.007602, allocations: 252.8 kB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.007613, allocations: 384 / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.007626, allocations: 384 / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.007764, allocations: 54.95 kB / 383.1 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.007774, allocations: 192 / 383.1 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.007784, allocations: 8.125 kB / 383.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.007792, allocations: 4 kB / 383.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.009e-05/0.007822, allocations: 11.94 kB / 383.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004864/0.008309, allocations: 411.8 kB / 383.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.985e-05/0.008379, allocations: 35.06 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.619e-05/0.008405, allocations: 11.62 kB / 383.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.008429, allocations: 0 / 383.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.008461, allocations: 49.38 kB / 383.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.542e-06/0.008463, allocations: 0 / 383.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002034/0.008666, allocations: 77.55 kB / 383.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.0087, allocations: 59.41 kB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005617/0.009262, allocations: 0.6315 MB / 384.3 MB, free: 12.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.009274, allocations: 29.7 kB / 384.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.009455, allocations: 282.8 kB / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.009475, allocations: 3.953 kB / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/0.009512, allocations: 19.38 kB / 384.7 MB, free: 11.83 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.0097, allocations: 0.5547 MB / 385.2 MB, free: 11.26 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.629e-05/0.009716, allocations: 4 kB / 385.2 MB, free: 11.26 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.122e-05/0.009727, allocations: 0 / 385.2 MB, free: 11.26 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.571e-05/0.009763, allocations: 23.69 kB / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.009765, allocations: 0 / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001149/0.00988, allocations: 85.34 kB / 385.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.009896, allocations: 4 kB / 385.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.009902, allocations: 0 / 385.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.009922, allocations: 4 kB / 385.3 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.889e-05/0.01, allocations: 4 kB / 385.4 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.01001, allocations: 0 / 385.4 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.381e-05/0.01004, allocations: 3.984 kB / 385.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.01005, allocations: 0 / 385.4 MB, free: 11.12 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 (2): * Single equations (assignments): 2 * 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.846e-05/0.01014, allocations: 168.5 kB / 385.5 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.02e-05/0.0102, allocations: 47.59 kB / 385.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000137/0.01033, allocations: 72.75 kB / 385.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.01034, allocations: 4 kB / 385.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.01034, allocations: 0 / 385.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.01034, allocations: 0 / 385.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002647/0.01061, allocations: 276.5 kB / 385.9 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.01061, allocations: 0 / 385.9 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.727e-05/0.01064, allocations: 7.984 kB / 385.9 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.01064, allocations: 3.938 kB / 385.9 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.01065, allocations: 4.031 kB / 385.9 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.01065, allocations: 0 / 385.9 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.01065, allocations: 4 kB / 385.9 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.01079, allocations: 227.6 kB / 386.2 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.277e-05/0.01082, allocations: 39.66 kB / 386.2 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.01084, allocations: 0 / 386.2 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.547e-05/0.0109, allocations: 0 / 386.2 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.676e-05/0.01092, allocations: 4 kB / 386.2 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/0.01092, allocations: 4 kB / 386.2 MB, free: 10.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003484/0.01127, allocations: 430.8 kB / 386.6 MB, free: 9.789 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01127, allocations: 4.031 kB / 386.6 MB, free: 9.785 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002458/0.01151, allocations: 19.94 kB / 386.6 MB, free: 9.766 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 (2): * Single equations (assignments): 2 * 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.0008119/0.01233, allocations: 327 kB / 387 MB, free: 9.562 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.828e-05/0.01241, allocations: 23.67 kB / 387 MB, free: 9.535 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.01241, allocations: 0 / 387 MB, free: 9.535 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.433e-05/0.01243, allocations: 15.62 kB / 387 MB, free: 9.516 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.01275, allocations: 41.14 kB / 387 MB, free: 9.477 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007119/0.01346, allocations: 0.5651 MB / 387.6 MB, free: 8.883 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.054e-05/0.01355, allocations: 119.2 kB / 387.7 MB, free: 8.746 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.832e-05/0.01359, allocations: 7.984 kB / 387.7 MB, free: 8.738 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.83e-05/0.01361, allocations: 12.5 kB / 387.7 MB, free: 8.723 MB / 362.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01362, allocations: 3.938 kB / 387.7 MB, free: 8.719 MB / 362.7 MB Notification: Performance of Templates: time 0.004276/0.01789, allocations: 1.154 MB / 388.9 MB, free: 7.574 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.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.3119968827813864]