Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.001475/0.001475, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001616/0.001616, allocations: 165.6 kB / 24.99 MB, free: 8.316 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.9685/0.9685, allocations: 177.1 MB / 205.3 MB, free: 5.609 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.2742/0.2742, allocations: 32.8 MB / 294.6 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.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 376 MB, free: 5.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.529e-05/1.637e-05, allocations: 6.312 kB / 376 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.002159/0.002175, allocations: 1.725 MB / 377.7 MB, free: 3.258 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007351/0.00291, allocations: 0.5724 MB / 378.3 MB, free: 2.68 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.161e-05/0.002972, allocations: 0 / 378.3 MB, free: 2.68 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002488/0.003221, allocations: 83.69 kB / 378.4 MB, free: 2.598 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002359/0.003456, allocations: 95.53 kB / 378.5 MB, free: 2.504 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002746/0.003731, allocations: 179.5 kB / 378.7 MB, free: 2.328 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.00388, allocations: 99.69 kB / 378.8 MB, free: 2.23 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.003982, allocations: 28.14 kB / 378.8 MB, free: 2.199 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.151e-05/0.004044, allocations: 39.91 kB / 378.8 MB, free: 2.16 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.299e-05/0.004137, allocations: 55.86 kB / 378.9 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.00415, allocations: 4 kB / 378.9 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.972e-05/0.004239, allocations: 51.97 kB / 378.9 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.291e-05/0.004302, allocations: 27.86 kB / 379 MB, free: 2.023 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.952e-05/0.004332, allocations: 19.92 kB / 379 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.004488, allocations: 99.59 kB / 379.1 MB, free: 1.906 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.00449, allocations: 8 kB / 379.1 MB, free: 1.898 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.00449, allocations: 0 / 379.1 MB, free: 1.898 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.004494, allocations: 0 / 379.1 MB, free: 1.898 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004082/0.004902, allocations: 459.8 kB / 379.5 MB, free: 1.414 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.004939, allocations: 8.031 kB / 379.5 MB, free: 1.406 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.004984, allocations: 16.84 kB / 379.6 MB, free: 1.391 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.005127, allocations: 152.9 kB / 379.7 MB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-06/0.005137, allocations: 4.312 kB / 379.7 MB, free: 1.211 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.005165, allocations: 8.375 kB / 379.7 MB, free: 1.203 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.005281, allocations: 62.94 kB / 379.8 MB, free: 1.133 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.005289, allocations: 4.188 kB / 379.8 MB, free: 1.129 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.005301, allocations: 8.125 kB / 379.8 MB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.005308, allocations: 0 / 379.8 MB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.872e-05/0.005347, allocations: 11.98 kB / 379.8 MB, free: 1.109 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003143/0.005661, allocations: 323.6 kB / 380.1 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.005817, allocations: 50.98 kB / 380.2 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.559e-05/0.005843, allocations: 11.69 kB / 380.2 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.005861, allocations: 4.031 kB / 380.2 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.005882, allocations: 37.52 kB / 380.2 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.362e-06/0.005884, allocations: 4 kB / 380.2 MB, free: 0.625 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006036/0.006487, allocations: 245.5 kB / 380.5 MB, free: 388 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.006517, allocations: 51.41 kB / 380.5 MB, free: 324 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.006645, allocations: 233.9 kB / 380.7 MB, free: 72 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.006656, allocations: 29.7 kB / 380.8 MB, free: 36 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.565e-05/0.006722, allocations: 158.8 kB / 380.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.00675, allocations: 39.69 kB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/0.006785, allocations: 31.38 kB / 381 MB, free: 15.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.006892, allocations: 0.504 MB / 381.5 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.938e-05/0.006921, allocations: 15.92 kB / 381.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.822e-05/0.00695, allocations: 19.98 kB / 381.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.317e-05/0.007013, allocations: 43.69 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.007014, allocations: 0 / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001161/0.00713, allocations: 97.52 kB / 381.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.007141, allocations: 8 kB / 381.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.007145, allocations: 0 / 381.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.007157, allocations: 0 / 381.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.244e-05/0.007219, allocations: 27.92 kB / 381.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.007225, allocations: 4 kB / 381.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.554e-05/0.007251, allocations: 8 kB / 381.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.007256, allocations: 0 / 381.7 MB, free: 15.05 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 (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 6.682e-05/0.007323, allocations: 168.5 kB / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.007349, allocations: 19.89 kB / 381.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000152/0.007501, allocations: 115 kB / 382 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.007504, allocations: 4 kB / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.007507, allocations: 0 / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.00751, allocations: 4 kB / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003221/0.007832, allocations: 424.6 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.007833, allocations: 0 / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.942e-05/0.007883, allocations: 27.92 kB / 382.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.007885, allocations: 0 / 382.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.007893, allocations: 0 / 382.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.007897, allocations: 8.125 kB / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.007898, allocations: 4 kB / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002936/0.008192, allocations: 263.7 kB / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.079e-05/0.008203, allocations: 15.97 kB / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.008217, allocations: 7.984 kB / 382.8 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.273e-05/0.00826, allocations: 7.938 kB / 382.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.563e-05/0.008296, allocations: 11.98 kB / 382.8 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.76e-06/0.008302, allocations: 4 kB / 382.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.889e-05/0.00837, allocations: 168.2 kB / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00837, allocations: 0 / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000172/0.008543, allocations: 27.92 kB / 383 MB, free: 13.7 MB / 362.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.0009598/0.009502, allocations: 441.6 kB / 383.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001304/0.009633, allocations: 63.59 kB / 383.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.009635, allocations: 0 / 383.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.279e-05/0.009678, allocations: 35.61 kB / 383.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.009897, allocations: 27.5 kB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004016/0.0103, allocations: 290.4 kB / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.04e-05/0.01035, allocations: 75.33 kB / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.724e-05/0.01041, allocations: 32.58 kB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.501e-05/0.01044, allocations: 16.5 kB / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01044, allocations: 0 / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of Templates: time 0.003195/0.01364, allocations: 1.678 MB / 385.6 MB, free: 11.18 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.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.180732848122716]