Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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.00108/0.00108, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001113/0.001113, allocations: 162.2 kB / 25.6 MB, free: 8.59 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 0.9255/0.9255, allocations: 177.1 MB / 206 MB, free: 4.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.1521/0.1521, allocations: 34.26 MB / 296.8 MB, free: 13.92 MB / 282.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.CombiTable1Dv.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 379.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.841e-05/1.995e-05, allocations: 5.828 kB / 379.3 MB, free: 23.37 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.002603/0.002623, allocations: 1.646 MB / 381 MB, free: 21.71 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008482/0.003471, allocations: 0.5375 MB / 381.5 MB, free: 21.17 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.927e-05/0.00354, allocations: 0 / 381.5 MB, free: 21.17 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002606/0.003801, allocations: 75.7 kB / 381.6 MB, free: 21.09 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002961/0.004097, allocations: 111.5 kB / 381.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002988/0.004396, allocations: 111.6 kB / 381.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000159/0.004555, allocations: 83.8 kB / 381.9 MB, free: 20.79 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.106e-05/0.004646, allocations: 12 kB / 381.9 MB, free: 20.78 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.546e-05/0.004721, allocations: 47.88 kB / 381.9 MB, free: 20.73 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.64e-05/0.004818, allocations: 55.86 kB / 382 MB, free: 20.68 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.004832, allocations: 4 kB / 382 MB, free: 20.68 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.077e-05/0.004923, allocations: 43.88 kB / 382 MB, free: 20.63 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.313e-05/0.004966, allocations: 23.86 kB / 382 MB, free: 20.61 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.601e-05/0.004992, allocations: 27.91 kB / 382.1 MB, free: 20.58 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.005144, allocations: 87.67 kB / 382.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.005147, allocations: 4 kB / 382.2 MB, free: 20.49 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.005148, allocations: 0 / 382.2 MB, free: 20.49 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.885e-06/0.005151, allocations: 0 / 382.2 MB, free: 20.49 MB / 314.7 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.0003206/0.005472, allocations: 443.8 kB / 382.6 MB, free: 20.02 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.005501, allocations: 8.031 kB / 382.6 MB, free: 20.02 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.237e-05/0.005543, allocations: 16.84 kB / 382.6 MB, free: 20 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.005667, allocations: 145.1 kB / 382.8 MB, free: 19.83 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.005676, allocations: 384 / 382.8 MB, free: 19.83 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.005693, allocations: 4.375 kB / 382.8 MB, free: 19.82 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.444e-05/0.005788, allocations: 66.92 kB / 382.8 MB, free: 19.75 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.005798, allocations: 192 / 382.8 MB, free: 19.75 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.005806, allocations: 8.125 kB / 382.8 MB, free: 19.74 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.005811, allocations: 0 / 382.8 MB, free: 19.74 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.947e-05/0.00584, allocations: 7.984 kB / 382.9 MB, free: 19.73 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002458/0.006086, allocations: 272.3 kB / 383.1 MB, free: 19.44 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.164e-05/0.006148, allocations: 43.03 kB / 383.2 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.728e-05/0.006165, allocations: 11.69 kB / 383.2 MB, free: 19.37 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.00618, allocations: 4 kB / 383.2 MB, free: 19.37 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.006197, allocations: 37.33 kB / 383.2 MB, free: 19.32 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.006198, allocations: 4 kB / 383.2 MB, free: 19.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005021/0.006701, allocations: 153.8 kB / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.008e-05/0.006721, allocations: 55.39 kB / 383.4 MB, free: 19.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.006839, allocations: 234.8 kB / 383.6 MB, free: 18.85 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.654e-06/0.006847, allocations: 25.7 kB / 383.7 MB, free: 18.82 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.186e-05/0.006889, allocations: 158.8 kB / 383.8 MB, free: 18.66 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.006914, allocations: 31.73 kB / 383.9 MB, free: 18.62 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/0.006953, allocations: 27.36 kB / 383.9 MB, free: 18.59 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.659e-05/0.006999, allocations: 0.5001 MB / 384.4 MB, free: 18.08 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.279e-05/0.007022, allocations: 7.984 kB / 384.4 MB, free: 18.07 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.083e-05/0.007043, allocations: 7.984 kB / 384.4 MB, free: 18.06 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.884e-05/0.007092, allocations: 31.69 kB / 384.4 MB, free: 18.03 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.007093, allocations: 7.875 kB / 384.4 MB, free: 18.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001101/0.007203, allocations: 69.58 kB / 384.5 MB, free: 17.95 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.007216, allocations: 8 kB / 384.5 MB, free: 17.94 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.00722, allocations: 96 / 384.5 MB, free: 17.94 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.00723, allocations: 3.984 kB / 384.5 MB, free: 17.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.793e-05/0.007308, allocations: 15.98 kB / 384.5 MB, free: 17.92 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.424e-06/0.00731, allocations: 4 kB / 384.5 MB, free: 17.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.241e-05/0.007343, allocations: 4 kB / 384.5 MB, free: 17.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.007349, allocations: 0 / 384.5 MB, free: 17.91 MB / 314.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 5.625e-05/0.007406, allocations: 172.5 kB / 384.7 MB, free: 17.73 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.884e-05/0.007445, allocations: 15.91 kB / 384.7 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001431/0.007588, allocations: 87.38 kB / 384.8 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.007591, allocations: 4 kB / 384.8 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.007593, allocations: 0 / 384.8 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.007596, allocations: 0 / 384.8 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002991/0.007895, allocations: 345.6 kB / 385.2 MB, free: 17.24 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.007899, allocations: 8.031 kB / 385.2 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.407e-05/0.007963, allocations: 15.98 kB / 385.2 MB, free: 17.22 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.007966, allocations: 0 / 385.2 MB, free: 17.22 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.792e-06/0.007972, allocations: 0 / 385.2 MB, free: 17.22 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.007975, allocations: 4 kB / 385.2 MB, free: 17.21 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.007976, allocations: 0 / 385.2 MB, free: 17.21 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.008093, allocations: 243.4 kB / 385.4 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.325e-05/0.008106, allocations: 11.89 kB / 385.4 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.008121, allocations: 4 kB / 385.4 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.427e-05/0.008185, allocations: 0 / 385.4 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.656e-05/0.008211, allocations: 15.98 kB / 385.5 MB, free: 16.92 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.008218, allocations: 4 kB / 385.5 MB, free: 16.92 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.999e-05/0.008278, allocations: 163.1 kB / 385.6 MB, free: 16.76 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.008278, allocations: 0 / 385.6 MB, free: 16.76 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002815/0.00856, allocations: 19.94 kB / 385.6 MB, free: 16.74 MB / 314.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.001247/0.009807, allocations: 435.8 kB / 386.1 MB, free: 16.47 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001106/0.009918, allocations: 43.66 kB / 386.1 MB, free: 16.43 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.00992, allocations: 0 / 386.1 MB, free: 16.43 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.386e-05/0.009953, allocations: 27.62 kB / 386.1 MB, free: 16.39 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.01026, allocations: 25.67 kB / 386.2 MB, free: 16.38 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003429/0.01061, allocations: 239.7 kB / 386.4 MB, free: 16.11 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.699e-05/0.01064, allocations: 75.19 kB / 386.5 MB, free: 16.02 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.041e-05/0.01069, allocations: 8.734 kB / 386.5 MB, free: 16.01 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.901e-05/0.01075, allocations: 82.19 kB / 386.5 MB, free: 15.93 MB / 314.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01075, allocations: 4.062 kB / 386.6 MB, free: 15.92 MB / 314.7 MB Notification: Performance of Templates: time 0.00404/0.01479, allocations: 1.555 MB / 388.1 MB, free: 14.38 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.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: 2.9258295418694615]