Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.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.002655/0.002655, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.003208/0.003208, allocations: 161.3 kB / 24.27 MB, free: 152 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 1.668/1.668, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.3732/0.3732, allocations: 32.8 MB / 293.9 MB, free: 1.184 MB / 266.7 MB " [Timeout remaining time 179] 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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 375.3 MB, free: 4.941 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.896e-05/4.106e-05, allocations: 6.312 kB / 375.3 MB, free: 4.934 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.005007/0.005048, allocations: 1.689 MB / 377 MB, free: 3.23 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.006921, allocations: 0.5647 MB / 377.5 MB, free: 2.66 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.225e-05/0.006993, allocations: 0 / 377.5 MB, free: 2.66 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003629/0.007356, allocations: 71.66 kB / 377.6 MB, free: 2.59 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004806/0.007837, allocations: 99.53 kB / 377.7 MB, free: 2.492 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006347/0.008471, allocations: 171.6 kB / 377.9 MB, free: 2.324 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002674/0.008739, allocations: 99.67 kB / 378 MB, free: 2.227 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.008877, allocations: 16.22 kB / 378 MB, free: 2.207 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.009019, allocations: 47.89 kB / 378 MB, free: 2.16 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.009177, allocations: 47.88 kB / 378.1 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.796e-05/0.009205, allocations: 4 kB / 378.1 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001708/0.009375, allocations: 47.92 kB / 378.1 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.107e-05/0.009466, allocations: 23.92 kB / 378.2 MB, free: 2.039 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.764e-05/0.009524, allocations: 19.91 kB / 378.2 MB, free: 2.02 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003236/0.009848, allocations: 119.5 kB / 378.3 MB, free: 1.902 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.009852, allocations: 0 / 378.3 MB, free: 1.902 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.009854, allocations: 4 kB / 378.3 MB, free: 1.898 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.00986, allocations: 0 / 378.3 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.000798/0.01066, allocations: 447.6 kB / 378.7 MB, free: 1.426 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.01071, allocations: 12.03 kB / 378.8 MB, free: 1.414 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.903e-05/0.01077, allocations: 8.891 kB / 378.8 MB, free: 1.406 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.01107, allocations: 152.4 kB / 378.9 MB, free: 1.23 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.01108, allocations: 4.375 kB / 378.9 MB, free: 1.227 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.007e-05/0.01111, allocations: 4.375 kB / 378.9 MB, free: 1.223 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/0.01134, allocations: 58.23 kB / 379 MB, free: 1.16 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/0.01137, allocations: 4.141 kB / 379 MB, free: 1.156 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.01139, allocations: 8.125 kB / 379 MB, free: 1.148 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.01139, allocations: 0 / 379 MB, free: 1.148 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002205/0.01161, allocations: 31.92 kB / 379 MB, free: 1.117 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006031/0.01222, allocations: 315.7 kB / 379.3 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00032/0.01254, allocations: 67 kB / 379.4 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.01264, allocations: 27.8 kB / 379.4 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.01266, allocations: 0 / 379.4 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.0127, allocations: 37.39 kB / 379.5 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.0127, allocations: 0 / 379.5 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001657/0.01436, allocations: 289.5 kB / 379.7 MB, free: 336 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.596e-05/0.01443, allocations: 55.41 kB / 379.8 MB, free: 268 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000346/0.01477, allocations: 250.3 kB / 380 MB, free: 0 / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.377e-05/0.01483, allocations: 25.7 kB / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.01498, allocations: 154.9 kB / 380.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.272e-05/0.01505, allocations: 43.69 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.195e-05/0.01514, allocations: 31.38 kB / 380.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005982/0.01574, allocations: 0.504 MB / 380.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.01589, allocations: 31.97 kB / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.01603, allocations: 27.98 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003163/0.01634, allocations: 83.59 kB / 380.9 MB, free: 15.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.01634, allocations: 0 / 380.9 MB, free: 15.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004811/0.01682, allocations: 117.6 kB / 381 MB, free: 14.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/0.01685, allocations: 8 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.01686, allocations: 3.938 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.01688, allocations: 0 / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.01706, allocations: 19.98 kB / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.589e-05/0.01708, allocations: 4 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.463e-05/0.01716, allocations: 11.98 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.01717, allocations: 7.938 kB / 381.1 MB, free: 14.89 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 0.0001354/0.0173, allocations: 164.5 kB / 381.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.956e-05/0.01735, allocations: 15.91 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003787/0.01773, allocations: 142.3 kB / 381.4 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.01773, allocations: 0 / 381.4 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.01774, allocations: 0 / 381.4 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.01774, allocations: 0 / 381.4 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007644/0.0185, allocations: 468.6 kB / 381.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.01851, allocations: 0 / 381.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.496e-05/0.0186, allocations: 19.98 kB / 381.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.01861, allocations: 4 kB / 381.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.01862, allocations: 3.984 kB / 381.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.663e-06/0.01863, allocations: 7.938 kB / 381.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.01863, allocations: 192 / 381.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004243/0.01905, allocations: 291.6 kB / 382.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.021e-05/0.01907, allocations: 15.97 kB / 382.2 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.0191, allocations: 8 kB / 382.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.683e-05/0.01918, allocations: 15.92 kB / 382.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.888e-05/0.01923, allocations: 7.984 kB / 382.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.01924, allocations: 4 kB / 382.2 MB, free: 13.65 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001423/0.01938, allocations: 167.2 kB / 382.4 MB, free: 13.49 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01938, allocations: 0 / 382.4 MB, free: 13.49 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002595/0.01964, allocations: 27.94 kB / 382.4 MB, free: 13.46 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.003224/0.02287, allocations: 0.4907 MB / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003535/0.02322, allocations: 95.56 kB / 383 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.02322, allocations: 0 / 383 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.02336, allocations: 59.59 kB / 383.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.02372, allocations: 29.39 kB / 383.1 MB, free: 12.99 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007432/0.02447, allocations: 285.9 kB / 383.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/0.0246, allocations: 96.8 kB / 383.5 MB, free: 12.56 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.424e-05/0.02469, allocations: 32.58 kB / 383.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.684e-05/0.02475, allocations: 20.5 kB / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of SimCode: time 8.62e-07/0.02475, allocations: 0 / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of Templates: time 0.005495/0.03025, allocations: 1.64 MB / 385.2 MB, free: 10.88 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.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: 5.09916270209942]