Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.001422/0.001422, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001352/0.001352, allocations: 161 kB / 24.56 MB, free: 16 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.9286/0.9286, allocations: 177.1 MB / 205 MB, free: 5.629 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.2992/0.2992, allocations: 34.26 MB / 295.7 MB, free: 0.7461 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 378 MB, free: 2.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.604e-05/2.793e-05, allocations: 2.312 kB / 378 MB, free: 2.645 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002528/0.002556, allocations: 1.638 MB / 379.7 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.003649, allocations: 0.5298 MB / 380.2 MB, free: 468 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.656e-05/0.003725, allocations: 0 / 380.2 MB, free: 468 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000247/0.003972, allocations: 31.66 kB / 380.2 MB, free: 436 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003377/0.00431, allocations: 75.62 kB / 380.3 MB, free: 360 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000291/0.004601, allocations: 103.6 kB / 380.4 MB, free: 256 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.004753, allocations: 55.84 kB / 380.5 MB, free: 200 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.004859, allocations: 15.97 kB / 380.5 MB, free: 184 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.365e-05/0.004923, allocations: 31.86 kB / 380.5 MB, free: 152 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.885e-05/0.004982, allocations: 19.92 kB / 380.5 MB, free: 132 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.004995, allocations: 0 / 380.5 MB, free: 132 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.25e-05/0.005078, allocations: 35.91 kB / 380.6 MB, free: 96 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.592e-05/0.005124, allocations: 11.94 kB / 380.6 MB, free: 84 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.138e-05/0.005155, allocations: 19.92 kB / 380.6 MB, free: 64 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.005303, allocations: 63.73 kB / 380.7 MB, free: 0 / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.535e-05/0.005318, allocations: 4.047 kB / 380.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.005319, allocations: 4 kB / 380.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.005325, allocations: 0 / 380.7 MB, free: 15.99 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.0004064/0.005731, allocations: 404.2 kB / 381.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.005769, allocations: 11.97 kB / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.263e-05/0.005812, allocations: 8.891 kB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.005953, allocations: 138.5 kB / 381.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.005962, allocations: 384 / 381.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.005987, allocations: 4.375 kB / 381.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.006108, allocations: 58.94 kB / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.006118, allocations: 192 / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.006128, allocations: 8.125 kB / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.006135, allocations: 0 / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.1e-05/0.006166, allocations: 7.984 kB / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002957/0.006461, allocations: 279.7 kB / 381.6 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.00666, allocations: 35.06 kB / 381.6 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.434e-05/0.006685, allocations: 15.77 kB / 381.6 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.006708, allocations: 7.938 kB / 381.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.006731, allocations: 33.39 kB / 381.7 MB, free: 14.87 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.006732, allocations: 0 / 381.7 MB, free: 14.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003698/0.007102, allocations: 101.4 kB / 381.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.007132, allocations: 55.41 kB / 381.8 MB, free: 14.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.00726, allocations: 208.5 kB / 382 MB, free: 14.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.007272, allocations: 29.7 kB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.223e-05/0.007334, allocations: 138.9 kB / 382.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.007357, allocations: 19.78 kB / 382.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/0.007391, allocations: 31.36 kB / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.007515, allocations: 0.4884 MB / 382.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.961e-05/0.007535, allocations: 4 kB / 382.7 MB, free: 13.74 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.549e-05/0.007551, allocations: 8.062 kB / 382.7 MB, free: 13.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.948e-05/0.00759, allocations: 27.69 kB / 382.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.007591, allocations: 4 kB / 382.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.473e-05/0.007666, allocations: 61.58 kB / 382.8 MB, free: 13.63 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.007678, allocations: 4 kB / 382.8 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.007682, allocations: 3.938 kB / 382.8 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.007697, allocations: 0 / 382.8 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.912e-05/0.007746, allocations: 11.98 kB / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.007751, allocations: 4 kB / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.518e-05/0.007766, allocations: 0 / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.007772, allocations: 4 kB / 382.9 MB, free: 13.61 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 (5): * Single equations (assignments): 5 * 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.893e-05/0.007841, allocations: 156.6 kB / 383 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.15e-05/0.007863, allocations: 19.88 kB / 383 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001318/0.007994, allocations: 70.14 kB / 383.1 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.007997, allocations: 0 / 383.1 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.008001, allocations: 0 / 383.1 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.008004, allocations: 0 / 383.1 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002463/0.00825, allocations: 321.3 kB / 383.4 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.008252, allocations: 0 / 383.4 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.813e-05/0.00829, allocations: 16.3 kB / 383.4 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.008292, allocations: 0 / 383.4 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.0083, allocations: 4 kB / 383.4 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.008302, allocations: 0 / 383.4 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.008303, allocations: 4 kB / 383.4 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001085/0.008411, allocations: 211.8 kB / 383.6 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.137e-06/0.00842, allocations: 7.953 kB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.008433, allocations: 4 kB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.875e-05/0.008461, allocations: 0 / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.939e-05/0.008491, allocations: 11.92 kB / 383.7 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-06/0.008494, allocations: 0 / 383.7 MB, free: 12.72 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.99e-05/0.008554, allocations: 147.2 kB / 383.8 MB, free: 12.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008554, allocations: 0 / 383.8 MB, free: 12.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000154/0.008708, allocations: 15.98 kB / 383.8 MB, free: 12.56 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 (5): * Single equations (assignments): 5 * 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.000826/0.009534, allocations: 384.8 kB / 384.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.436e-05/0.009628, allocations: 27.62 kB / 384.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.00963, allocations: 0 / 384.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.376e-05/0.009653, allocations: 27.67 kB / 384.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.009874, allocations: 19.92 kB / 384.3 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000325/0.0102, allocations: 174.6 kB / 384.4 MB, free: 12.03 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.879e-05/0.01024, allocations: 67.33 kB / 384.5 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.607e-05/0.01026, allocations: 4 kB / 384.5 MB, free: 11.94 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.813e-05/0.01029, allocations: 16.48 kB / 384.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01029, allocations: 4 kB / 384.5 MB, free: 11.92 MB / 362.7 MB Notification: Performance of Templates: time 0.002911/0.0132, allocations: 1.163 MB / 385.7 MB, free: 10.77 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.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.250568759161979]