Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.0009148/0.0009148, allocations: 84.8 kB / 21.5 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.001869/0.001869, allocations: 171.7 kB / 24.92 MB, free: 8.727 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.014/1.014, allocations: 177.1 MB / 205.3 MB, free: 5.051 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.2664/0.2664, allocations: 34.26 MB / 296.1 MB, free: 0.6758 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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,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.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 325.3 MB, free: 7.688 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.147e-05, allocations: 7.188 kB / 325.3 MB, free: 7.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.002942/0.002963, allocations: 1.714 MB / 327 MB, free: 5.953 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009582/0.003921, allocations: 0.5607 MB / 327.5 MB, free: 5.387 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.524e-05/0.003977, allocations: 7.938 kB / 327.6 MB, free: 5.379 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005735/0.00455, allocations: 447 kB / 328 MB, free: 4.941 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005044/0.005055, allocations: 299.2 kB / 328.3 MB, free: 4.648 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003354/0.00539, allocations: 127.6 kB / 328.4 MB, free: 4.523 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002625/0.005652, allocations: 179.6 kB / 328.6 MB, free: 4.348 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.209e-05/0.005745, allocations: 16.72 kB / 328.6 MB, free: 4.328 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.005904, allocations: 127.8 kB / 328.7 MB, free: 4.203 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/0.006128, allocations: 203.6 kB / 328.9 MB, free: 4.004 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.006147, allocations: 4 kB / 328.9 MB, free: 4 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.006257, allocations: 51.91 kB / 329 MB, free: 3.949 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.00636, allocations: 87.7 kB / 329.1 MB, free: 3.863 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.563e-05/0.006406, allocations: 35.75 kB / 329.1 MB, free: 3.828 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002731/0.006679, allocations: 223 kB / 329.3 MB, free: 3.609 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.006682, allocations: 0 / 329.3 MB, free: 3.609 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.006682, allocations: 0 / 329.3 MB, free: 3.609 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.006687, allocations: 0 / 329.3 MB, free: 3.609 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.0005603/0.007247, allocations: 0.5541 MB / 329.9 MB, free: 3.031 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.007285, allocations: 12.03 kB / 329.9 MB, free: 3.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.158e-05/0.007337, allocations: 24.91 kB / 329.9 MB, free: 2.996 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.007566, allocations: 250 kB / 330.1 MB, free: 2.727 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.007577, allocations: 384 / 330.1 MB, free: 2.727 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.0076, allocations: 4.375 kB / 330.2 MB, free: 2.723 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.007709, allocations: 62.94 kB / 330.2 MB, free: 2.652 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.00772, allocations: 192 / 330.2 MB, free: 2.652 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.007729, allocations: 8.125 kB / 330.2 MB, free: 2.645 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.007737, allocations: 4 kB / 330.2 MB, free: 2.641 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.032e-05/0.007767, allocations: 11.94 kB / 330.2 MB, free: 2.629 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000245/0.008012, allocations: 176.2 kB / 330.4 MB, free: 2.441 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.008167, allocations: 38.56 kB / 330.4 MB, free: 2.395 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.508e-05/0.008192, allocations: 20.86 kB / 330.5 MB, free: 2.371 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.008208, allocations: 0 / 330.5 MB, free: 2.371 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.008232, allocations: 34.5 kB / 330.5 MB, free: 2.328 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.008233, allocations: 3.938 kB / 330.5 MB, free: 2.324 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006359/0.008869, allocations: 221.9 kB / 330.7 MB, free: 2.102 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.008905, allocations: 55.41 kB / 330.8 MB, free: 2.035 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004648/0.009369, allocations: 0.5244 MB / 331.3 MB, free: 1.496 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.009384, allocations: 29.7 kB / 331.3 MB, free: 1.461 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.458e-05/0.009459, allocations: 145.3 kB / 331.5 MB, free: 1.312 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.405e-05/0.009493, allocations: 35.69 kB / 331.5 MB, free: 1.277 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.23e-05/0.009535, allocations: 29.69 kB / 331.5 MB, free: 1.242 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.009658, allocations: 362.6 kB / 331.9 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.452e-05/0.009682, allocations: 16.17 kB / 331.9 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.374e-05/0.009706, allocations: 12.77 kB / 331.9 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.864e-05/0.009764, allocations: 42.08 kB / 332 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.009766, allocations: 0 / 332 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001097/0.009875, allocations: 79.95 kB / 332 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.009888, allocations: 8 kB / 332 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.009892, allocations: 0 / 332 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.009905, allocations: 0 / 332 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.737e-05/0.009992, allocations: 27.92 kB / 332.1 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.956e-06/0.009995, allocations: 0 / 332.1 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.747e-05/0.01004, allocations: 11.98 kB / 332.1 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.01005, allocations: 4 kB / 332.1 MB, free: 0.6758 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 8.501e-05/0.01014, allocations: 116.6 kB / 332.2 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.254e-05/0.01018, allocations: 23.97 kB / 332.2 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000171/0.01035, allocations: 125.3 kB / 332.3 MB, free: 408 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.01035, allocations: 0 / 332.3 MB, free: 408 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.01035, allocations: 0 / 332.3 MB, free: 408 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.01036, allocations: 0 / 332.3 MB, free: 408 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003824/0.01074, allocations: 340.1 kB / 332.7 MB, free: 36 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01074, allocations: 4.062 kB / 332.7 MB, free: 32 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.159e-05/0.01081, allocations: 23.92 kB / 332.7 MB, free: 8 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.01082, allocations: 4 kB / 332.7 MB, free: 4 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-06/0.01082, allocations: 4 kB / 332.7 MB, free: 0 / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.01082, allocations: 0 / 332.7 MB, free: 0 / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.819e-05/0.01084, allocations: 4.047 kB / 332.7 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.01099, allocations: 197 kB / 332.9 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.342e-05/0.01103, allocations: 31.72 kB / 332.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.01105, allocations: 8 kB / 332.9 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.262e-05/0.01114, allocations: 7.984 kB / 333 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.161e-05/0.01117, allocations: 15.92 kB / 333 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.01117, allocations: 0 / 333 MB, free: 15.72 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000274/0.01145, allocations: 283.2 kB / 333.2 MB, free: 15.44 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.01145, allocations: 3.938 kB / 333.3 MB, free: 15.44 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002525/0.0117, allocations: 28 kB / 333.3 MB, free: 15.41 MB / 314.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.001718/0.01342, allocations: 0.5858 MB / 333.9 MB, free: 15.13 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001054/0.01352, allocations: 60.75 kB / 333.9 MB, free: 15.07 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.01353, allocations: 4 kB / 333.9 MB, free: 15.06 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.871e-05/0.01357, allocations: 24.8 kB / 334 MB, free: 15.04 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.01383, allocations: 30.52 kB / 334 MB, free: 15 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008148/0.01465, allocations: 0.6313 MB / 334.6 MB, free: 14.34 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.01476, allocations: 127.2 kB / 334.7 MB, free: 14.19 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.736e-05/0.01482, allocations: 8.5 kB / 334.7 MB, free: 14.18 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.575e-05/0.01489, allocations: 71.36 kB / 334.8 MB, free: 14.11 MB / 314.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01489, allocations: 0 / 334.8 MB, free: 14.11 MB / 314.7 MB Notification: Performance of Templates: time 0.004909/0.0198, allocations: 1.857 MB / 336.7 MB, free: 12.27 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.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.964543434791267]