Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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.0009776/0.0009776, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001064/0.001064, allocations: 169.9 kB / 24.91 MB, free: 8.723 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.9236/0.9236, allocations: 177.1 MB / 205.3 MB, free: 5.121 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.2595/0.2595, allocations: 34.25 MB / 296.1 MB, free: 0.6797 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 325.3 MB, free: 7.699 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.331e-05/2.477e-05, allocations: 11.09 kB / 325.3 MB, free: 7.688 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.002545/0.00257, allocations: 1.697 MB / 327 MB, free: 5.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.003749, allocations: 1.301 MB / 328.3 MB, free: 4.672 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.313e-05/0.003792, allocations: 0 / 328.3 MB, free: 4.672 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001802/0.003972, allocations: 27.78 kB / 328.3 MB, free: 4.645 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002936/0.004266, allocations: 87.55 kB / 328.4 MB, free: 4.559 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.004519, allocations: 127.6 kB / 328.5 MB, free: 4.434 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.004637, allocations: 83.69 kB / 328.6 MB, free: 4.352 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.869e-05/0.004706, allocations: 4 kB / 328.6 MB, free: 4.348 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.262e-05/0.004769, allocations: 39.91 kB / 328.6 MB, free: 4.309 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.658e-05/0.004855, allocations: 35.89 kB / 328.7 MB, free: 4.273 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.004867, allocations: 4 kB / 328.7 MB, free: 4.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.004999, allocations: 95.81 kB / 328.8 MB, free: 4.176 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.735e-05/0.005046, allocations: 23.91 kB / 328.8 MB, free: 4.152 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.037e-05/0.005066, allocations: 16.44 kB / 328.8 MB, free: 4.137 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.005242, allocations: 135.5 kB / 328.9 MB, free: 4.004 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.005245, allocations: 0 / 328.9 MB, free: 4.004 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.005246, allocations: 0 / 328.9 MB, free: 4.004 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.915e-06/0.005249, allocations: 0 / 328.9 MB, free: 4.004 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003248/0.005573, allocations: 317.6 kB / 329.2 MB, free: 3.672 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.721e-05/0.005601, allocations: 12.03 kB / 329.3 MB, free: 3.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.743e-05/0.005628, allocations: 8.875 kB / 329.3 MB, free: 3.652 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.005746, allocations: 125.7 kB / 329.4 MB, free: 3.504 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.005754, allocations: 384 / 329.4 MB, free: 3.504 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.005773, allocations: 4.375 kB / 329.4 MB, free: 3.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.00588, allocations: 102.3 kB / 329.5 MB, free: 3.379 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.005889, allocations: 4.141 kB / 329.5 MB, free: 3.375 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.005897, allocations: 4.125 kB / 329.5 MB, free: 3.371 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.005902, allocations: 7.984 kB / 329.5 MB, free: 3.363 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.125e-05/0.005924, allocations: 7.938 kB / 329.5 MB, free: 3.355 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001905/0.006114, allocations: 176.2 kB / 329.7 MB, free: 3.168 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.028e-05/0.006164, allocations: 22.58 kB / 329.7 MB, free: 3.137 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.407e-05/0.006178, allocations: 12.94 kB / 329.7 MB, free: 3.121 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.006191, allocations: 0 / 329.7 MB, free: 3.121 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.006213, allocations: 42.44 kB / 329.8 MB, free: 3.07 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.006214, allocations: 0 / 329.8 MB, free: 3.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002779/0.006492, allocations: 109.8 kB / 329.9 MB, free: 2.957 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.006523, allocations: 77.11 kB / 329.9 MB, free: 2.863 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.364e-05/0.006607, allocations: 134.7 kB / 330.1 MB, free: 2.719 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.006617, allocations: 33.7 kB / 330.1 MB, free: 2.68 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.119e-05/0.006648, allocations: 96.05 kB / 330.2 MB, free: 2.582 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.006666, allocations: 19.81 kB / 330.2 MB, free: 2.562 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/0.006695, allocations: 17.72 kB / 330.2 MB, free: 2.539 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.93e-05/0.006774, allocations: 322.8 kB / 330.6 MB, free: 2.215 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.17e-05/0.006786, allocations: 4 kB / 330.6 MB, free: 2.211 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.511e-05/0.006821, allocations: 51.39 kB / 330.6 MB, free: 2.148 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.542e-05/0.006856, allocations: 24.84 kB / 330.6 MB, free: 2.121 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.006857, allocations: 0 / 330.6 MB, free: 2.121 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.107e-05/0.006928, allocations: 69.53 kB / 330.7 MB, free: 2.047 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.00694, allocations: 10.38 kB / 330.7 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.006944, allocations: 48 / 330.7 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.006957, allocations: 3.984 kB / 330.7 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.386e-05/0.007021, allocations: 15.98 kB / 330.7 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-06/0.007024, allocations: 320 / 330.7 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.251e-05/0.007046, allocations: 4 kB / 330.7 MB, free: 2.016 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.007051, allocations: 7.938 kB / 330.7 MB, free: 2.008 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 (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 5.254e-05/0.007104, allocations: 112.7 kB / 330.9 MB, free: 1.887 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.723e-05/0.007121, allocations: 11.92 kB / 330.9 MB, free: 1.875 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.972e-05/0.007211, allocations: 74.31 kB / 330.9 MB, free: 1.797 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.007212, allocations: 4 kB / 330.9 MB, free: 1.793 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.007213, allocations: 0 / 330.9 MB, free: 1.793 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.007216, allocations: 3.984 kB / 330.9 MB, free: 1.789 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.007399, allocations: 226.8 kB / 331.2 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.0074, allocations: 0 / 331.2 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.711e-05/0.007437, allocations: 19.92 kB / 331.2 MB, free: 1.523 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.007439, allocations: 0 / 331.2 MB, free: 1.523 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-06/0.007444, allocations: 4 kB / 331.2 MB, free: 1.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.007445, allocations: 0 / 331.2 MB, free: 1.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.007446, allocations: 0 / 331.2 MB, free: 1.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.809e-05/0.007524, allocations: 163.5 kB / 331.3 MB, free: 1.344 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.548e-06/0.007533, allocations: 11.95 kB / 331.4 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.929e-06/0.007543, allocations: 0 / 331.4 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.63e-05/0.00758, allocations: 7.984 kB / 331.4 MB, free: 1.324 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.357e-05/0.007603, allocations: 7.984 kB / 331.4 MB, free: 1.316 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-06/0.007606, allocations: 4 kB / 331.4 MB, free: 1.312 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.386e-05/0.00763, allocations: 24.84 kB / 331.4 MB, free: 1.285 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00763, allocations: 3.938 kB / 331.4 MB, free: 1.281 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001609/0.007791, allocations: 39.86 kB / 331.4 MB, free: 1.242 MB / 298.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.001272/0.009063, allocations: 0.6342 MB / 332.1 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.943e-05/0.009143, allocations: 28.83 kB / 332.1 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.009148, allocations: 4 kB / 332.1 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.211e-05/0.009171, allocations: 20.8 kB / 332.1 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/0.009308, allocations: 19.92 kB / 332.2 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002797/0.009587, allocations: 192 kB / 332.3 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.24e-05/0.00962, allocations: 63.34 kB / 332.4 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.286e-05/0.009662, allocations: 24.28 kB / 332.4 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.465e-05/0.009727, allocations: 75.34 kB / 332.5 MB, free: 464 kB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.009728, allocations: 0 / 332.5 MB, free: 464 kB / 298.7 MB Notification: Performance of Templates: time 0.003341/0.01307, allocations: 2.118 MB / 334.6 MB, free: 14.35 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.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.935525300912559]