Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.001794/0.001794, allocations: 84.92 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001738/0.001738, allocations: 164.5 kB / 23.95 MB, free: 4.168 MB / 14.72 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.39/1.39, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 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.2006/0.2006, allocations: 32.81 MB / 293.5 MB, free: 32 kB / 270.1 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.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 440.1 MB, free: 8.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.287e-05, allocations: 6.219 kB / 440.1 MB, free: 8.121 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.002931/0.002954, allocations: 1.634 MB / 441.8 MB, free: 6.477 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.004094, allocations: 0.5453 MB / 442.3 MB, free: 5.926 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.828e-05/0.004152, allocations: 4 kB / 442.3 MB, free: 5.922 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002735/0.004426, allocations: 91.67 kB / 442.4 MB, free: 5.832 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003187/0.004744, allocations: 119.4 kB / 442.5 MB, free: 5.715 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003315/0.005076, allocations: 122.7 kB / 442.6 MB, free: 5.598 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.00527, allocations: 103.7 kB / 442.7 MB, free: 5.496 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.596e-05/0.005366, allocations: 19.98 kB / 442.7 MB, free: 5.477 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.906e-05/0.005455, allocations: 55.81 kB / 442.8 MB, free: 5.422 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.005577, allocations: 59.86 kB / 442.9 MB, free: 5.363 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.005597, allocations: 4 kB / 442.9 MB, free: 5.359 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.005698, allocations: 47.92 kB / 442.9 MB, free: 5.312 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.995e-05/0.005758, allocations: 31.91 kB / 442.9 MB, free: 5.281 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.97e-05/0.005797, allocations: 23.86 kB / 443 MB, free: 5.258 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.006046, allocations: 135.5 kB / 443.1 MB, free: 5.125 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.006048, allocations: 0 / 443.1 MB, free: 5.125 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.006048, allocations: 0 / 443.1 MB, free: 5.125 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.006052, allocations: 0 / 443.1 MB, free: 5.125 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005104/0.006563, allocations: 365.5 kB / 443.5 MB, free: 4.738 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.006593, allocations: 8.031 kB / 443.5 MB, free: 4.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.216e-05/0.006635, allocations: 20.78 kB / 443.5 MB, free: 4.711 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.006876, allocations: 153.5 kB / 443.6 MB, free: 4.535 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.006887, allocations: 4.312 kB / 443.6 MB, free: 4.531 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.00691, allocations: 12.36 kB / 443.7 MB, free: 4.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.007081, allocations: 78.22 kB / 443.7 MB, free: 4.438 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.007092, allocations: 192 / 443.7 MB, free: 4.438 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.00711, allocations: 4.125 kB / 443.7 MB, free: 4.434 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.007116, allocations: 4 kB / 443.7 MB, free: 4.43 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.007243, allocations: 47.95 kB / 443.8 MB, free: 4.383 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004523/0.007695, allocations: 280.3 kB / 444.1 MB, free: 4.078 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.007836, allocations: 66.55 kB / 444.1 MB, free: 4.004 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.483e-05/0.007911, allocations: 24.84 kB / 444.1 MB, free: 3.977 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.007932, allocations: 0 / 444.1 MB, free: 3.977 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.007961, allocations: 34.55 kB / 444.2 MB, free: 3.934 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.007961, allocations: 0 / 444.2 MB, free: 3.934 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.001117/0.009078, allocations: 341.1 kB / 444.5 MB, free: 3.594 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.009124, allocations: 51.41 kB / 444.6 MB, free: 3.531 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002557/0.00938, allocations: 235.6 kB / 444.8 MB, free: 3.285 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.009409, allocations: 29.7 kB / 444.8 MB, free: 3.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.611e-05/0.009485, allocations: 112.1 kB / 444.9 MB, free: 3.137 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.541e-05/0.009531, allocations: 43.64 kB / 445 MB, free: 3.094 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-05/0.009582, allocations: 29.7 kB / 445 MB, free: 3.059 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.009742, allocations: 334.8 kB / 445.3 MB, free: 2.723 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.009853, allocations: 43.97 kB / 445.4 MB, free: 2.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.009957, allocations: 48.09 kB / 445.4 MB, free: 2.633 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002333/0.01019, allocations: 107.8 kB / 445.5 MB, free: 2.527 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.01019, allocations: 0 / 445.5 MB, free: 2.527 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003084/0.0105, allocations: 157.5 kB / 445.7 MB, free: 2.367 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.01052, allocations: 8 kB / 445.7 MB, free: 2.359 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.01052, allocations: 0 / 445.7 MB, free: 2.359 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.01053, allocations: 0 / 445.7 MB, free: 2.359 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.01066, allocations: 27.97 kB / 445.7 MB, free: 2.332 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.01067, allocations: 0 / 445.7 MB, free: 2.332 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.068e-05/0.01072, allocations: 7.938 kB / 445.7 MB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.01073, allocations: 8 kB / 445.7 MB, free: 2.316 MB / 366.1 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 (13): * Single equations (assignments): 13 * 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 0.0001223/0.01086, allocations: 146.9 kB / 445.9 MB, free: 2.164 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.167e-05/0.0109, allocations: 15.91 kB / 445.9 MB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003967/0.01129, allocations: 187.8 kB / 446.1 MB, free: 1.957 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.0113, allocations: 0 / 446.1 MB, free: 1.957 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.0113, allocations: 4 kB / 446.1 MB, free: 1.953 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.0113, allocations: 0 / 446.1 MB, free: 1.953 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006623/0.01197, allocations: 438.8 kB / 446.5 MB, free: 1.484 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.01197, allocations: 3.938 kB / 446.5 MB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001/0.01207, allocations: 31.95 kB / 446.5 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.01207, allocations: 4 kB / 446.5 MB, free: 1.445 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.01208, allocations: 3.938 kB / 446.5 MB, free: 1.441 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.01209, allocations: 0 / 446.5 MB, free: 1.441 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.01209, allocations: 4 kB / 446.5 MB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003749/0.01246, allocations: 259.7 kB / 446.8 MB, free: 1.168 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.017e-05/0.01248, allocations: 15.91 kB / 446.8 MB, free: 1.152 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.01251, allocations: 3.938 kB / 446.8 MB, free: 1.148 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.458e-05/0.01259, allocations: 8 kB / 446.8 MB, free: 1.141 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.01263, allocations: 11.98 kB / 446.8 MB, free: 1.129 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.01264, allocations: 7.984 kB / 446.9 MB, free: 1.121 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001732/0.01281, allocations: 181.1 kB / 447 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01281, allocations: 0 / 447 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002743/0.01309, allocations: 31.92 kB / 447.1 MB, free: 0.9141 MB / 366.1 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 (13): * Single equations (assignments): 13 * 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.001813/0.0149, allocations: 486.8 kB / 447.5 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002953/0.0152, allocations: 111.6 kB / 447.6 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.0152, allocations: 0 / 447.6 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.01534, allocations: 55.91 kB / 447.7 MB, free: 496 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.01564, allocations: 23.16 kB / 447.7 MB, free: 476 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006218/0.01626, allocations: 338.8 kB / 448.1 MB, free: 104 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1575/0.1738, allocations: 105.1 kB / 448.2 MB, free: 21.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001192/0.1739, allocations: 25.69 kB / 448.2 MB, free: 21.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.724e-05/0.174, allocations: 19.52 kB / 448.2 MB, free: 21.36 MB / 366.1 MB Notification: Performance of SimCode: time 1.162e-06/0.174, allocations: 1.531 kB / 448.2 MB, free: 21.36 MB / 366.1 MB Notification: Performance of Templates: time 0.004946/0.1789, allocations: 1.597 MB / 449.8 MB, free: 21.27 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.539042945951223]