Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.001003/0.001003, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.001069/0.001069, allocations: 175.1 kB / 24.91 MB, free: 9.176 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.956/0.956, 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.2366/0.2366, allocations: 34.27 MB / 296.1 MB, free: 0.7266 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 3.938 kB / 325.3 MB, free: 7.672 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.693e-05/1.831e-05, allocations: 2.312 kB / 325.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.00242/0.002439, allocations: 1.715 MB / 327 MB, free: 5.941 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008861/0.003325, allocations: 0.5724 MB / 327.6 MB, free: 5.363 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.917e-05/0.003384, allocations: 4 kB / 327.6 MB, free: 5.359 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005369/0.003921, allocations: 455 kB / 328 MB, free: 4.914 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000426/0.004347, allocations: 303.1 kB / 328.3 MB, free: 4.617 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003381/0.007728, allocations: 171.5 kB / 328.5 MB, free: 4.449 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.007947, allocations: 175.6 kB / 328.6 MB, free: 4.277 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.088e-05/0.008028, allocations: 16.22 kB / 328.7 MB, free: 4.258 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.008151, allocations: 127.7 kB / 328.8 MB, free: 4.133 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001844/0.008335, allocations: 203.6 kB / 329 MB, free: 3.934 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.008351, allocations: 4 kB / 329 MB, free: 3.93 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.773e-05/0.008449, allocations: 47.92 kB / 329 MB, free: 3.883 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.687e-05/0.008536, allocations: 87.7 kB / 329.1 MB, free: 3.797 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.145e-05/0.008577, allocations: 36.25 kB / 329.2 MB, free: 3.762 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002363/0.008814, allocations: 219 kB / 329.4 MB, free: 3.547 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.008815, allocations: 4 kB / 329.4 MB, free: 3.543 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.008816, allocations: 0 / 329.4 MB, free: 3.543 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.008819, allocations: 0 / 329.4 MB, free: 3.543 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.0004863/0.009306, allocations: 0.554 MB / 329.9 MB, free: 2.965 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.009336, allocations: 12.03 kB / 329.9 MB, free: 2.953 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.766e-05/0.009384, allocations: 28.91 kB / 330 MB, free: 2.926 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004344/0.009818, allocations: 246 kB / 330.2 MB, free: 2.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.009828, allocations: 4.375 kB / 330.2 MB, free: 2.656 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.009849, allocations: 4.375 kB / 330.2 MB, free: 2.652 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.457e-05/0.009943, allocations: 62.94 kB / 330.3 MB, free: 2.582 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.009953, allocations: 4.188 kB / 330.3 MB, free: 2.578 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.009961, allocations: 4.125 kB / 330.3 MB, free: 2.574 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.81e-06/0.009966, allocations: 4 kB / 330.3 MB, free: 2.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.319e-05/0.00999, allocations: 4 kB / 330.3 MB, free: 2.566 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002715/0.01026, allocations: 215 kB / 330.5 MB, free: 2.34 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.237e-05/0.01031, allocations: 29.39 kB / 330.5 MB, free: 2.301 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.706e-05/0.01033, allocations: 16.8 kB / 330.5 MB, free: 2.281 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.01035, allocations: 12.05 kB / 330.6 MB, free: 2.27 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.01037, allocations: 34.56 kB / 330.6 MB, free: 2.227 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.01037, allocations: 0 / 330.6 MB, free: 2.227 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004621/0.01083, allocations: 161.4 kB / 330.8 MB, free: 2.062 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.01086, allocations: 55.41 kB / 330.8 MB, free: 1.996 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003894/0.01125, allocations: 0.5283 MB / 331.3 MB, free: 1.453 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.01126, allocations: 25.7 kB / 331.4 MB, free: 1.422 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.091e-05/0.01134, allocations: 141.3 kB / 331.5 MB, free: 1.277 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.01136, allocations: 31.77 kB / 331.5 MB, free: 1.246 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.475e-05/0.0114, allocations: 17.72 kB / 331.5 MB, free: 1.223 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.01151, allocations: 366.6 kB / 331.9 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.581e-05/0.01152, allocations: 8 kB / 331.9 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.48e-05/0.01154, allocations: 4 kB / 331.9 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.627e-05/0.01158, allocations: 39.58 kB / 332 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.01158, allocations: 0 / 332 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.711e-05/0.01167, allocations: 69.66 kB / 332 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.01168, allocations: 4 kB / 332 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.01168, allocations: 4 kB / 332 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.0117, allocations: 0 / 332 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.269e-05/0.01176, allocations: 12 kB / 332 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.01176, allocations: 4.297 kB / 332 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.803e-05/0.0118, allocations: 11.95 kB / 332.1 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.01181, allocations: 4 kB / 332.1 MB, free: 0.6836 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 7.227e-05/0.01188, allocations: 120.5 kB / 332.2 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/0.01192, allocations: 23.97 kB / 332.2 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.01205, allocations: 101.5 kB / 332.3 MB, free: 436 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.01206, allocations: 4 kB / 332.3 MB, free: 432 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.01206, allocations: 0 / 332.3 MB, free: 432 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.01206, allocations: 0 / 332.3 MB, free: 432 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003166/0.01238, allocations: 311.3 kB / 332.6 MB, free: 92 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.01238, allocations: 0 / 332.6 MB, free: 92 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.428e-05/0.01242, allocations: 23.92 kB / 332.6 MB, free: 68 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.01242, allocations: 0 / 332.6 MB, free: 68 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.01243, allocations: 4 kB / 332.6 MB, free: 64 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.01243, allocations: 3.938 kB / 332.6 MB, free: 60 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.01243, allocations: 0 / 332.6 MB, free: 60 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.01255, allocations: 176.3 kB / 332.8 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.025e-05/0.01258, allocations: 31.72 kB / 332.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.0126, allocations: 11.98 kB / 332.9 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.159e-05/0.01267, allocations: 0 / 332.9 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.337e-05/0.01269, allocations: 12.02 kB / 332.9 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.01269, allocations: 3.938 kB / 332.9 MB, free: 15.81 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002294/0.01292, allocations: 287.2 kB / 333.2 MB, free: 15.53 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01292, allocations: 0 / 333.2 MB, free: 15.53 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002186/0.01314, allocations: 28 kB / 333.2 MB, free: 15.5 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.004397/0.01754, allocations: 0.5882 MB / 333.8 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.128e-05/0.01762, allocations: 32.83 kB / 333.8 MB, free: 15.18 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.01763, allocations: 4 kB / 333.8 MB, free: 15.17 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.916e-05/0.01766, allocations: 24.78 kB / 333.8 MB, free: 15.14 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.01788, allocations: 29.23 kB / 333.9 MB, free: 15.12 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006648/0.01854, allocations: 0.6058 MB / 334.5 MB, free: 14.48 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.203e-05/0.01864, allocations: 127.2 kB / 334.6 MB, free: 14.34 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.161e-05/0.01868, allocations: 16.72 kB / 334.6 MB, free: 14.32 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.853e-05/0.01874, allocations: 59.38 kB / 334.7 MB, free: 14.26 MB / 314.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01874, allocations: 4 kB / 334.7 MB, free: 14.26 MB / 314.7 MB Notification: Performance of Templates: time 0.003783/0.02252, allocations: 1.745 MB / 336.4 MB, free: 12.53 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/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: 2.944466497283429]