Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.0009518/0.0009518, 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.0009461/0.0009461, 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.9229/0.9229, allocations: 177.1 MB / 205 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2447/0.2447, allocations: 32.81 MB / 294.3 MB, free: 1.297 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 376 MB, free: 4.691 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.455e-05/1.627e-05, allocations: 6.312 kB / 376 MB, free: 4.684 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.002013/0.002029, allocations: 1.7 MB / 377.7 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006812/0.00271, allocations: 0.5569 MB / 378.3 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.469e-05/0.002755, allocations: 0 / 378.3 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004403/0.003195, allocations: 455 kB / 378.7 MB, free: 1.965 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003764/0.003572, allocations: 291.3 kB / 379 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.003837, allocations: 135.5 kB / 379.2 MB, free: 1.547 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002304/0.004067, allocations: 179.6 kB / 379.3 MB, free: 1.371 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.456e-05/0.004161, allocations: 15.98 kB / 379.3 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.004279, allocations: 115.8 kB / 379.5 MB, free: 1.242 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.004475, allocations: 239.6 kB / 379.7 MB, free: 1.008 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.004494, allocations: 4 kB / 379.7 MB, free: 1.004 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.453e-05/0.004578, allocations: 39.92 kB / 379.7 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.4e-05/0.004672, allocations: 83.69 kB / 379.8 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.025e-05/0.004712, allocations: 47.62 kB / 379.9 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.004935, allocations: 191.2 kB / 380 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.004939, allocations: 8 kB / 380.1 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.00494, allocations: 0 / 380.1 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.004945, allocations: 0 / 380.1 MB, free: 0.6406 MB / 346.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.0007989/0.005744, allocations: 0.6967 MB / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.005778, allocations: 8.031 kB / 380.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.638e-05/0.005834, allocations: 44.66 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.006019, allocations: 252.8 kB / 381.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.00603, allocations: 8.375 kB / 381.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.006049, allocations: 384 / 381.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.006163, allocations: 62.94 kB / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.006174, allocations: 4.188 kB / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.006182, allocations: 0.5625 kB / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.00619, allocations: 7.938 kB / 381.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.097e-05/0.006221, allocations: 7.938 kB / 381.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003618/0.006583, allocations: 431.6 kB / 381.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.059e-05/0.006654, allocations: 39.05 kB / 381.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.106e-05/0.006675, allocations: 15.69 kB / 381.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.006691, allocations: 4 kB / 381.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.006711, allocations: 41.42 kB / 381.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.91e-07/0.006712, allocations: 4 kB / 381.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004766/0.007189, allocations: 213 kB / 381.9 MB, free: 14.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.007223, allocations: 51.41 kB / 381.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004157/0.007639, allocations: 0.6354 MB / 382.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.007652, allocations: 29.64 kB / 382.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001438/0.007796, allocations: 282.8 kB / 382.9 MB, free: 13.65 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.007824, allocations: 23.81 kB / 382.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-05/0.007866, allocations: 23.38 kB / 382.9 MB, free: 13.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.008006, allocations: 0.5547 MB / 383.5 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.119e-05/0.008027, allocations: 8 kB / 383.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.744e-05/0.008044, allocations: 11.98 kB / 383.5 MB, free: 13.01 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.337e-05/0.008088, allocations: 31.69 kB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.008088, allocations: 0 / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001051/0.008194, allocations: 113.6 kB / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.008205, allocations: 8 kB / 383.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.008209, allocations: 0 / 383.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.008222, allocations: 0 / 383.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.095e-05/0.008303, allocations: 19.92 kB / 383.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.008308, allocations: 0 / 383.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.281e-05/0.008341, allocations: 15.92 kB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.008347, allocations: 8 kB / 383.7 MB, free: 12.81 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 (7): * Single equations (assignments): 7 * 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.216e-05/0.008419, allocations: 152.6 kB / 383.8 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.371e-05/0.008453, allocations: 51.66 kB / 383.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.008589, allocations: 101.5 kB / 384 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.008591, allocations: 3.938 kB / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.008595, allocations: 4 kB / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.008598, allocations: 0 / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003347/0.008932, allocations: 493.2 kB / 384.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.008934, allocations: 3.938 kB / 384.5 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.452e-05/0.008978, allocations: 19.98 kB / 384.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.008981, allocations: 0 / 384.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.008988, allocations: 4 kB / 384.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.008989, allocations: 0 / 384.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.008992, allocations: 3.938 kB / 384.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.009113, allocations: 251.6 kB / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.13e-05/0.009135, allocations: 31.72 kB / 384.8 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.00915, allocations: 0 / 384.8 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.46e-05/0.009195, allocations: 11.98 kB / 384.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/0.009228, allocations: 7.984 kB / 384.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.688e-06/0.009233, allocations: 0 / 384.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002337/0.009466, allocations: 438.8 kB / 385.2 MB, free: 11.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009467, allocations: 0 / 385.2 MB, free: 11.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001649/0.009631, allocations: 20 kB / 385.2 MB, free: 11.16 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 (7): * Single equations (assignments): 7 * 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.0007959/0.01043, allocations: 380.7 kB / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001062/0.01053, allocations: 43.61 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.01053, allocations: 0 / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.945e-05/0.01057, allocations: 27.81 kB / 385.7 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.01082, allocations: 33.83 kB / 385.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005905/0.01141, allocations: 0.5964 MB / 386.3 MB, free: 10.19 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.615e-05/0.01148, allocations: 115.3 kB / 386.4 MB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.438e-05/0.01151, allocations: 19.97 kB / 386.4 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.049e-05/0.01155, allocations: 12.5 kB / 386.5 MB, free: 10.03 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01155, allocations: 0 / 386.5 MB, free: 10.03 MB / 362.7 MB Notification: Performance of Templates: time 0.004234/0.01578, allocations: 1.588 MB / 388 MB, free: 8.445 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.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.8606038321740925]