Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.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.0009841/0.0009841, 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.0017/0.0017, allocations: 169 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.9744/0.9744, allocations: 177.1 MB / 205.3 MB, free: 4.488 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.1401/0.1401, allocations: 32.8 MB / 294.6 MB, free: 15.44 MB / 282.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.Test10,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.Test10") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test10,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.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 323.3 MB, free: 2.734 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.531e-05, allocations: 6.25 kB / 323.3 MB, free: 2.727 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.002717/0.002742, allocations: 1.743 MB / 325 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.003948, allocations: 1.301 MB / 326.3 MB, free: 15.66 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.741e-05/0.003995, allocations: 0 / 326.3 MB, free: 15.66 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001938/0.004189, allocations: 19.86 kB / 326.4 MB, free: 15.64 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002524/0.004441, allocations: 87.42 kB / 326.4 MB, free: 15.56 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.00465, allocations: 127.6 kB / 326.6 MB, free: 15.43 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001187/0.004769, allocations: 79.77 kB / 326.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.778e-05/0.004846, allocations: 11.98 kB / 326.7 MB, free: 15.34 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.311e-05/0.00491, allocations: 39.91 kB / 326.7 MB, free: 15.3 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.457e-05/0.005004, allocations: 27.89 kB / 326.7 MB, free: 15.28 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.005018, allocations: 4 kB / 326.7 MB, free: 15.27 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001453/0.005163, allocations: 99.81 kB / 326.8 MB, free: 15.18 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.193e-05/0.005215, allocations: 19.92 kB / 326.8 MB, free: 15.16 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.056e-05/0.005236, allocations: 23.91 kB / 326.9 MB, free: 15.13 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.005412, allocations: 131.6 kB / 327 MB, free: 15 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.005414, allocations: 4 kB / 327 MB, free: 15 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.005416, allocations: 4 kB / 327 MB, free: 15 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.115e-06/0.005419, allocations: 3.938 kB / 327 MB, free: 14.99 MB / 314.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.0003265/0.005745, allocations: 304.3 kB / 327.3 MB, free: 14.67 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.005781, allocations: 15.98 kB / 327.3 MB, free: 14.66 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.842e-05/0.00581, allocations: 4.938 kB / 327.3 MB, free: 14.65 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.005941, allocations: 137.6 kB / 327.5 MB, free: 14.49 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.482e-06/0.005947, allocations: 384 / 327.5 MB, free: 14.49 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.005969, allocations: 4.375 kB / 327.5 MB, free: 14.49 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.006085, allocations: 106.3 kB / 327.6 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/0.006092, allocations: 4.188 kB / 327.6 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.006101, allocations: 4.125 kB / 327.6 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.006105, allocations: 0 / 327.6 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.097e-05/0.006126, allocations: 8 kB / 327.6 MB, free: 14.35 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001912/0.006317, allocations: 168.3 kB / 327.7 MB, free: 14.17 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.929e-05/0.006366, allocations: 38.48 kB / 327.8 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.465e-05/0.006381, allocations: 8.859 kB / 327.8 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.006395, allocations: 0 / 327.8 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.006415, allocations: 38.5 kB / 327.8 MB, free: 14.06 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 6.72e-07/0.006416, allocations: 4 kB / 327.8 MB, free: 14.06 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002912/0.006707, allocations: 109.6 kB / 327.9 MB, free: 13.95 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.006739, allocations: 77.11 kB / 328 MB, free: 13.85 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.441e-05/0.006823, allocations: 142.6 kB / 328.2 MB, free: 13.7 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.006831, allocations: 25.7 kB / 328.2 MB, free: 13.67 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.076e-05/0.006862, allocations: 88.09 kB / 328.3 MB, free: 13.58 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.006884, allocations: 31.77 kB / 328.3 MB, free: 13.55 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.006914, allocations: 13.72 kB / 328.3 MB, free: 13.53 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.704e-05/0.006992, allocations: 322.8 kB / 328.6 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.26e-05/0.007004, allocations: 4 kB / 328.6 MB, free: 13.2 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.236e-05/0.007036, allocations: 51.41 kB / 328.7 MB, free: 13.14 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.69e-05/0.007073, allocations: 36.77 kB / 328.7 MB, free: 13.1 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.007074, allocations: 0 / 328.7 MB, free: 13.1 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.335e-05/0.007137, allocations: 49.62 kB / 328.8 MB, free: 13.04 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.007149, allocations: 8 kB / 328.8 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.007153, allocations: 3.938 kB / 328.8 MB, free: 13.03 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.477e-06/0.007162, allocations: 0 / 328.8 MB, free: 13.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.586e-05/0.007228, allocations: 15.98 kB / 328.8 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.007231, allocations: 0 / 328.8 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.39e-05/0.007255, allocations: 7.984 kB / 328.8 MB, free: 13.01 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.007261, allocations: 8.031 kB / 328.8 MB, free: 13 MB / 314.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.24e-05/0.007313, allocations: 120.6 kB / 328.9 MB, free: 12.87 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.951e-05/0.007333, allocations: 7.938 kB / 328.9 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.816e-05/0.007431, allocations: 74.73 kB / 329 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.007433, allocations: 0 / 329 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.007434, allocations: 0 / 329 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.007437, allocations: 0 / 329 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001938/0.007631, allocations: 234.7 kB / 329.2 MB, free: 12.53 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.007632, allocations: 0 / 329.2 MB, free: 12.53 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.972e-05/0.007672, allocations: 12 kB / 329.2 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.007676, allocations: 7.984 kB / 329.3 MB, free: 12.51 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.338e-06/0.007681, allocations: 0 / 329.3 MB, free: 12.51 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.007683, allocations: 0 / 329.3 MB, free: 12.51 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.007685, allocations: 4 kB / 329.3 MB, free: 12.51 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.379e-05/0.007768, allocations: 155.4 kB / 329.4 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.023e-05/0.007779, allocations: 11.94 kB / 329.4 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.698e-06/0.007788, allocations: 0 / 329.4 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.497e-05/0.007823, allocations: 4 kB / 329.4 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.16e-05/0.007855, allocations: 11.98 kB / 329.4 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.007859, allocations: 4 kB / 329.4 MB, free: 12.31 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.751e-05/0.007887, allocations: 32.28 kB / 329.5 MB, free: 12.28 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007887, allocations: 0 / 329.5 MB, free: 12.28 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001598/0.008047, allocations: 39.86 kB / 329.5 MB, free: 12.24 MB / 314.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.001279/0.009326, allocations: 0.6252 MB / 330.1 MB, free: 11.89 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.079e-05/0.009407, allocations: 32.78 kB / 330.2 MB, free: 11.86 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.009409, allocations: 0 / 330.2 MB, free: 11.86 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.246e-05/0.009432, allocations: 24.83 kB / 330.2 MB, free: 11.83 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.009585, allocations: 23.92 kB / 330.2 MB, free: 11.8 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002938/0.009879, allocations: 190 kB / 330.4 MB, free: 11.59 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.637e-05/0.009915, allocations: 59.34 kB / 330.5 MB, free: 11.52 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.027e-05/0.009955, allocations: 12.3 kB / 330.5 MB, free: 11.5 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.513e-05/0.01002, allocations: 71.36 kB / 330.5 MB, free: 11.43 MB / 314.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01002, allocations: 3.938 kB / 330.5 MB, free: 11.43 MB / 314.7 MB Notification: Performance of Templates: time 0.0036/0.01362, allocations: 2.138 MB / 332.7 MB, free: 9.316 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test10/Test10.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.0984475510194898]