Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test28.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.001167/0.001167, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001304/0.001304, allocations: 169.1 kB / 24.91 MB, free: 9.199 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.013/1.013, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.283/0.283, allocations: 34.26 MB / 296.1 MB, free: 0.7227 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.CombiTable1Ds.Test28,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.CombiTable1Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,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.CombiTable1Ds.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 325.3 MB, free: 7.625 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.759e-05/2.953e-05, allocations: 3.781 kB / 325.3 MB, free: 7.621 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.002821/0.00285, allocations: 1.711 MB / 327 MB, free: 5.898 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008175/0.003668, allocations: 0.5296 MB / 327.5 MB, free: 5.363 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.891e-05/0.003737, allocations: 4 kB / 327.6 MB, free: 5.359 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002993/0.004036, allocations: 103.7 kB / 327.7 MB, free: 5.258 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002941/0.00433, allocations: 123.4 kB / 327.8 MB, free: 5.137 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002564/0.004586, allocations: 95.69 kB / 327.9 MB, free: 5.043 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.004771, allocations: 95.67 kB / 328 MB, free: 4.949 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.382e-05/0.004865, allocations: 8 kB / 328 MB, free: 4.941 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.251e-05/0.004947, allocations: 51.88 kB / 328 MB, free: 4.891 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.853e-05/0.005046, allocations: 59.86 kB / 328.1 MB, free: 4.832 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.005061, allocations: 4 kB / 328.1 MB, free: 4.828 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.249e-05/0.005153, allocations: 43.92 kB / 328.1 MB, free: 4.785 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.021e-05/0.005203, allocations: 27.91 kB / 328.2 MB, free: 4.758 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.711e-05/0.005231, allocations: 15.88 kB / 328.2 MB, free: 4.742 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.005401, allocations: 107.6 kB / 328.3 MB, free: 4.637 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.005403, allocations: 0 / 328.3 MB, free: 4.637 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.005404, allocations: 0 / 328.3 MB, free: 4.637 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.005409, allocations: 0 / 328.3 MB, free: 4.637 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003473/0.005756, allocations: 329.9 kB / 328.6 MB, free: 4.293 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.005793, allocations: 12.03 kB / 328.6 MB, free: 4.281 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.049e-05/0.005823, allocations: 4.938 kB / 328.6 MB, free: 4.277 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.005981, allocations: 150.3 kB / 328.8 MB, free: 4.102 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.005992, allocations: 4.375 kB / 328.8 MB, free: 4.098 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.00601, allocations: 384 / 328.8 MB, free: 4.098 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.006118, allocations: 66.94 kB / 328.8 MB, free: 4.023 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.00613, allocations: 4.172 kB / 328.8 MB, free: 4.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-06/0.00614, allocations: 4.125 kB / 328.8 MB, free: 4.016 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.006144, allocations: 0 / 328.8 MB, free: 4.016 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.424e-05/0.006168, allocations: 8 kB / 328.8 MB, free: 4.008 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002268/0.006395, allocations: 175 kB / 329 MB, free: 3.82 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.935e-05/0.006444, allocations: 34.62 kB / 329 MB, free: 3.777 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.574e-05/0.00646, allocations: 12.86 kB / 329.1 MB, free: 3.762 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.006477, allocations: 0 / 329.1 MB, free: 3.762 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.006499, allocations: 34.5 kB / 329.1 MB, free: 3.719 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.583e-06/0.0065, allocations: 4 kB / 329.1 MB, free: 3.715 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004661/0.006966, allocations: 145.5 kB / 329.2 MB, free: 3.566 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.006997, allocations: 55.39 kB / 329.3 MB, free: 3.5 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.007137, allocations: 197.6 kB / 329.5 MB, free: 3.293 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.007165, allocations: 25.7 kB / 329.5 MB, free: 3.262 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.492e-05/0.0072, allocations: 100.1 kB / 329.6 MB, free: 3.16 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.007228, allocations: 31.73 kB / 329.6 MB, free: 3.129 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-05/0.007257, allocations: 17.7 kB / 329.7 MB, free: 3.105 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.007373, allocations: 326.8 kB / 330 MB, free: 2.777 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.428e-05/0.007388, allocations: 15.92 kB / 330 MB, free: 2.762 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.159e-05/0.007399, allocations: 8 kB / 330 MB, free: 2.754 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.923e-05/0.007438, allocations: 33.06 kB / 330 MB, free: 2.719 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.007439, allocations: 0 / 330 MB, free: 2.719 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.226e-05/0.007512, allocations: 65.53 kB / 330.1 MB, free: 2.648 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.007525, allocations: 8 kB / 330.1 MB, free: 2.641 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.007531, allocations: 4 kB / 330.1 MB, free: 2.637 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.007541, allocations: 0 / 330.1 MB, free: 2.637 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.589e-05/0.007607, allocations: 15.98 kB / 330.1 MB, free: 2.621 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.394e-06/0.007609, allocations: 0 / 330.1 MB, free: 2.621 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.98e-05/0.007629, allocations: 8 kB / 330.1 MB, free: 2.613 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.007634, allocations: 0 / 330.1 MB, free: 2.613 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 (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 6.665e-05/0.007701, allocations: 116.7 kB / 330.2 MB, free: 2.488 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.09e-05/0.007722, allocations: 11.92 kB / 330.3 MB, free: 2.477 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001276/0.00785, allocations: 79.06 kB / 330.3 MB, free: 2.391 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.007853, allocations: 0 / 330.3 MB, free: 2.391 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.007855, allocations: 0 / 330.3 MB, free: 2.391 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.007858, allocations: 0 / 330.3 MB, free: 2.391 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/0.008099, allocations: 259.4 kB / 330.6 MB, free: 2.109 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.0081, allocations: 0 / 330.6 MB, free: 2.109 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.287e-05/0.008143, allocations: 20.02 kB / 330.6 MB, free: 2.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.008145, allocations: 0 / 330.6 MB, free: 2.09 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.008152, allocations: 8 kB / 330.6 MB, free: 2.082 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.008155, allocations: 0 / 330.6 MB, free: 2.082 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.008156, allocations: 0 / 330.6 MB, free: 2.082 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.541e-05/0.008252, allocations: 164.7 kB / 330.8 MB, free: 1.902 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.142e-05/0.008263, allocations: 15.89 kB / 330.8 MB, free: 1.887 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.008275, allocations: 4 kB / 330.8 MB, free: 1.883 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.383e-05/0.008309, allocations: 4 kB / 330.8 MB, free: 1.879 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.728e-05/0.008336, allocations: 11.97 kB / 330.8 MB, free: 1.867 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.00834, allocations: 4 kB / 330.8 MB, free: 1.863 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000124/0.008464, allocations: 64.23 kB / 330.9 MB, free: 1.797 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008464, allocations: 0 / 330.9 MB, free: 1.797 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001467/0.008611, allocations: 16 kB / 330.9 MB, free: 1.781 MB / 298.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.001219/0.00983, allocations: 0.5819 MB / 331.5 MB, free: 1.504 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.092e-05/0.00992, allocations: 36.72 kB / 331.5 MB, free: 1.465 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.009926, allocations: 4 kB / 331.5 MB, free: 1.461 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.455e-05/0.009951, allocations: 28.77 kB / 331.5 MB, free: 1.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.01013, allocations: 19.98 kB / 331.6 MB, free: 1.41 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003115/0.01044, allocations: 230.6 kB / 331.8 MB, free: 1.156 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.17e-05/0.01048, allocations: 71.33 kB / 331.9 MB, free: 1.062 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.573e-05/0.01051, allocations: 21.08 kB / 331.9 MB, free: 1.039 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.251e-05/0.01057, allocations: 55.38 kB / 331.9 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01057, allocations: 0 / 331.9 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of Templates: time 0.003312/0.01388, allocations: 1.507 MB / 333.4 MB, free: 15.49 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test28 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.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.9946315991692245]