Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.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.001039/0.001039, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.001463/0.001463, allocations: 168 kB / 24.82 MB, free: 9.262 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.9915/0.9915, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.2517/0.2517, allocations: 32.81 MB / 294.6 MB, free: 1.258 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.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 376.5 MB, free: 4.391 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.138e-05/1.278e-05, allocations: 2.312 kB / 376.5 MB, free: 4.387 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.001911/0.001924, allocations: 1.709 MB / 378.2 MB, free: 2.664 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006433/0.002568, allocations: 0.5374 MB / 378.8 MB, free: 2.121 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.43e-05/0.002612, allocations: 0 / 378.8 MB, free: 2.121 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001999/0.002812, allocations: 79.7 kB / 378.8 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002165/0.003028, allocations: 95.53 kB / 378.9 MB, free: 1.949 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002024/0.003231, allocations: 135.5 kB / 379.1 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.003349, allocations: 91.75 kB / 379.2 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.388e-05/0.003423, allocations: 12.22 kB / 379.2 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.816e-05/0.003491, allocations: 55.88 kB / 379.2 MB, free: 1.656 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.2e-05/0.003563, allocations: 43.89 kB / 379.3 MB, free: 1.613 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.003573, allocations: 4 kB / 379.3 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.767e-05/0.003651, allocations: 59.84 kB / 379.3 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.127e-05/0.003702, allocations: 19.92 kB / 379.3 MB, free: 1.531 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.083e-05/0.003723, allocations: 23.91 kB / 379.4 MB, free: 1.508 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.00385, allocations: 99.59 kB / 379.5 MB, free: 1.41 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.422e-06/0.003851, allocations: 0 / 379.5 MB, free: 1.41 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.003852, allocations: 0 / 379.5 MB, free: 1.41 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.404e-06/0.003854, allocations: 0 / 379.5 MB, free: 1.41 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.0003317/0.004186, allocations: 451.8 kB / 379.9 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.004215, allocations: 8.031 kB / 379.9 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.197e-05/0.004247, allocations: 20.84 kB / 379.9 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.004356, allocations: 149.1 kB / 380.1 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.004365, allocations: 4.375 kB / 380.1 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.00438, allocations: 4.375 kB / 380.1 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.872e-05/0.004469, allocations: 62.94 kB / 380.1 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.004479, allocations: 8.078 kB / 380.2 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.004486, allocations: 8.125 kB / 380.2 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.004491, allocations: 0 / 380.2 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.312e-05/0.004514, allocations: 11.98 kB / 380.2 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000222/0.004736, allocations: 272.3 kB / 380.4 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.00485, allocations: 51.06 kB / 380.5 MB, free: 280 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.762e-05/0.004868, allocations: 19.8 kB / 380.5 MB, free: 256 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.004886, allocations: 7.938 kB / 380.5 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/0.004904, allocations: 37.39 kB / 380.6 MB, free: 200 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.004905, allocations: 0 / 380.6 MB, free: 200 kB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004582/0.005363, allocations: 229.6 kB / 380.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.172e-05/0.005385, allocations: 51.41 kB / 380.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.005496, allocations: 234.2 kB / 381.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.428e-06/0.005505, allocations: 25.7 kB / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.083e-05/0.005566, allocations: 162.8 kB / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.005593, allocations: 39.67 kB / 381.3 MB, free: 15.42 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.005625, allocations: 27.38 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.005733, allocations: 0.5 MB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.947e-05/0.005752, allocations: 11.98 kB / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.787e-05/0.00577, allocations: 15.98 kB / 381.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.524e-05/0.005816, allocations: 43.62 kB / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.005816, allocations: 0 / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.49e-05/0.005901, allocations: 93.78 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/0.005911, allocations: 4 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.005914, allocations: 0 / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.005924, allocations: 0 / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.715e-05/0.005981, allocations: 27.98 kB / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.305e-06/0.005983, allocations: 0 / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.183e-05/0.006005, allocations: 4 kB / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.00601, allocations: 8 kB / 382 MB, free: 14.66 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.113e-05/0.006071, allocations: 164.5 kB / 382.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/0.006095, allocations: 19.84 kB / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001255/0.00622, allocations: 111 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.006222, allocations: 0 / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.006223, allocations: 0 / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.006226, allocations: 0 / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002799/0.006506, allocations: 385.2 kB / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.006508, allocations: 0 / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-05/0.006559, allocations: 28.05 kB / 382.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.006561, allocations: 4 kB / 382.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.006568, allocations: 3.984 kB / 382.7 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.006571, allocations: 4 kB / 382.7 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.006572, allocations: 192 / 382.7 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/0.006718, allocations: 263 kB / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.808e-06/0.006728, allocations: 11.91 kB / 383 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.00674, allocations: 8 kB / 383 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.375e-05/0.006784, allocations: 11.98 kB / 383 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.006818, allocations: 11.92 kB / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.006823, allocations: 8 kB / 383 MB, free: 13.56 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.99e-05/0.006883, allocations: 159.1 kB / 383.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006883, allocations: 0 / 383.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001604/0.007044, allocations: 24 kB / 383.2 MB, free: 13.38 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.0007889/0.007832, allocations: 437.1 kB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.702e-05/0.007919, allocations: 51.55 kB / 383.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.52e-07/0.00792, allocations: 0 / 383.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.61e-05/0.007957, allocations: 51.58 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.00815, allocations: 28.2 kB / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002994/0.008449, allocations: 265.1 kB / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.658e-05/0.008486, allocations: 67.34 kB / 384.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.892e-05/0.008525, allocations: 20.59 kB / 384.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.102e-05/0.008586, allocations: 90.19 kB / 384.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.008586, allocations: 0 / 384.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of Templates: time 0.00294/0.01153, allocations: 1.738 MB / 385.9 MB, free: 10.77 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.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.9026120770722628]