Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29.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.0007961/0.0007961, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.0009674/0.0009674, allocations: 168.7 kB / 24.91 MB, free: 9.145 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.9749/0.9749, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.2701/0.2701, allocations: 34.25 MB / 296.1 MB, free: 0.7344 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.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.71e-07/9.71e-07, allocations: 0 / 325.3 MB, free: 7.629 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.157e-05/1.254e-05, allocations: 3.406 kB / 325.3 MB, free: 7.625 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.002013/0.002026, allocations: 1.762 MB / 327.1 MB, free: 5.852 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006518/0.002678, allocations: 0.5529 MB / 327.6 MB, free: 5.293 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.623e-05/0.002714, allocations: 0 / 327.6 MB, free: 5.293 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001833/0.002897, allocations: 71.7 kB / 327.7 MB, free: 5.223 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001841/0.003081, allocations: 95.53 kB / 327.8 MB, free: 5.129 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002059/0.003287, allocations: 139.5 kB / 327.9 MB, free: 4.992 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.003402, allocations: 91.75 kB / 328 MB, free: 4.902 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.305e-05/0.003465, allocations: 12.22 kB / 328 MB, free: 4.887 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.258e-05/0.003527, allocations: 51.88 kB / 328.1 MB, free: 4.836 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.699e-05/0.003594, allocations: 43.88 kB / 328.1 MB, free: 4.793 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.003606, allocations: 4 kB / 328.1 MB, free: 4.789 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.073e-05/0.003676, allocations: 55.86 kB / 328.2 MB, free: 4.734 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.986e-05/0.003726, allocations: 19.92 kB / 328.2 MB, free: 4.715 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.962e-05/0.003746, allocations: 32.34 kB / 328.2 MB, free: 4.684 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001221/0.003868, allocations: 95.66 kB / 328.3 MB, free: 4.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.293e-06/0.003869, allocations: 0 / 328.3 MB, free: 4.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.9e-07/0.00387, allocations: 0 / 328.3 MB, free: 4.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.775e-06/0.003872, allocations: 0 / 328.3 MB, free: 4.59 MB / 298.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.0002585/0.004131, allocations: 325.5 kB / 328.6 MB, free: 4.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.436e-05/0.004155, allocations: 8.031 kB / 328.7 MB, free: 4.242 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.967e-05/0.004185, allocations: 8.938 kB / 328.7 MB, free: 4.234 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.00429, allocations: 143.4 kB / 328.8 MB, free: 4.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.023e-06/0.004297, allocations: 8.375 kB / 328.8 MB, free: 4.062 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.004312, allocations: 4.375 kB / 328.8 MB, free: 4.059 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.734e-05/0.004389, allocations: 70.92 kB / 328.9 MB, free: 3.98 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.004396, allocations: 4.125 kB / 328.9 MB, free: 3.977 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.941e-06/0.004402, allocations: 4.125 kB / 328.9 MB, free: 3.973 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.004406, allocations: 0 / 328.9 MB, free: 3.973 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.255e-05/0.004428, allocations: 8 kB / 328.9 MB, free: 3.965 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001697/0.004598, allocations: 176.2 kB / 329.1 MB, free: 3.777 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.942e-05/0.004697, allocations: 38.59 kB / 329.1 MB, free: 3.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.369e-05/0.004711, allocations: 8.859 kB / 329.1 MB, free: 3.719 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.004722, allocations: 4.125 kB / 329.1 MB, free: 3.715 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.00474, allocations: 42.5 kB / 329.2 MB, free: 3.664 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 6.61e-07/0.00474, allocations: 0 / 329.2 MB, free: 3.664 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004191/0.005159, allocations: 210.8 kB / 329.4 MB, free: 3.453 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.237e-05/0.005182, allocations: 55.41 kB / 329.4 MB, free: 3.387 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.392e-05/0.005276, allocations: 173.5 kB / 329.6 MB, free: 3.203 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.005286, allocations: 33.7 kB / 329.6 MB, free: 3.164 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.107e-05/0.005317, allocations: 100.1 kB / 329.7 MB, free: 3.062 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/0.005345, allocations: 39.67 kB / 329.8 MB, free: 3.023 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/0.005373, allocations: 21.72 kB / 329.8 MB, free: 2.996 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.024e-05/0.005443, allocations: 330.7 kB / 330.1 MB, free: 2.664 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.503e-05/0.005458, allocations: 15.92 kB / 330.1 MB, free: 2.648 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.445e-05/0.005473, allocations: 8 kB / 330.1 MB, free: 2.641 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.12e-05/0.005514, allocations: 43.11 kB / 330.2 MB, free: 2.598 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.005514, allocations: 0 / 330.2 MB, free: 2.598 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 6.565e-05/0.00558, allocations: 65.61 kB / 330.2 MB, free: 2.527 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.367e-06/0.00559, allocations: 8 kB / 330.2 MB, free: 2.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.005593, allocations: 4 kB / 330.2 MB, free: 2.516 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.345e-06/0.005601, allocations: 0 / 330.2 MB, free: 2.516 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.702e-05/0.005658, allocations: 23.98 kB / 330.3 MB, free: 2.492 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.816e-06/0.005661, allocations: 7.938 kB / 330.3 MB, free: 2.484 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.184e-05/0.005683, allocations: 7.984 kB / 330.3 MB, free: 2.477 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.005687, allocations: 0 / 330.3 MB, free: 2.477 MB / 298.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 (11): * Single equations (assignments): 11 * 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.352e-05/0.005741, allocations: 120.6 kB / 330.4 MB, free: 2.348 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.798e-05/0.005759, allocations: 4 kB / 330.4 MB, free: 2.344 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.005859, allocations: 98.98 kB / 330.5 MB, free: 2.238 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.005861, allocations: 0 / 330.5 MB, free: 2.238 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.005862, allocations: 4 kB / 330.5 MB, free: 2.234 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.005865, allocations: 0 / 330.5 MB, free: 2.234 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.006089, allocations: 280.2 kB / 330.8 MB, free: 1.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.00609, allocations: 0 / 330.8 MB, free: 1.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.633e-05/0.006137, allocations: 27.98 kB / 330.8 MB, free: 1.902 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.006138, allocations: 0 / 330.8 MB, free: 1.902 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.006143, allocations: 4 kB / 330.8 MB, free: 1.898 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.006147, allocations: 7.969 kB / 330.8 MB, free: 1.891 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.006148, allocations: 0 / 330.8 MB, free: 1.891 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.372e-05/0.006242, allocations: 195.5 kB / 331 MB, free: 1.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.003e-05/0.006252, allocations: 11.94 kB / 331 MB, free: 1.668 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.006263, allocations: 4.172 kB / 331 MB, free: 1.664 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.919e-05/0.006302, allocations: 8 kB / 331 MB, free: 1.656 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.564e-05/0.006327, allocations: 15.92 kB / 331.1 MB, free: 1.641 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.006332, allocations: 4 kB / 331.1 MB, free: 1.637 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.754e-05/0.00637, allocations: 52.14 kB / 331.1 MB, free: 1.582 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00637, allocations: 0 / 331.1 MB, free: 1.582 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001329/0.006503, allocations: 20 kB / 331.1 MB, free: 1.562 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001068/0.007571, allocations: 0.5718 MB / 331.7 MB, free: 1.285 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.328e-05/0.007654, allocations: 48.77 kB / 331.7 MB, free: 1.234 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.007658, allocations: 7.938 kB / 331.8 MB, free: 1.227 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.989e-05/0.007688, allocations: 36.78 kB / 331.8 MB, free: 1.188 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.007833, allocations: 27.27 kB / 331.8 MB, free: 1.164 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002985/0.008132, allocations: 265.4 kB / 332.1 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.526e-05/0.008167, allocations: 75.27 kB / 332.1 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.609e-05/0.008203, allocations: 24.59 kB / 332.2 MB, free: 0.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.157e-05/0.008255, allocations: 59.38 kB / 332.2 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of SimCode: time 4e-07/0.008255, allocations: 0 / 332.2 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of Templates: time 0.002852/0.01111, allocations: 1.68 MB / 333.9 MB, free: 15.02 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.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.906067896168679]