Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.0009517/0.0009517, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001273/0.001273, allocations: 168.7 kB / 24.91 MB, free: 9.191 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 1.031/1.031, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2503/0.2503, allocations: 32.81 MB / 294.6 MB, free: 1.168 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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,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.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 323.3 MB, free: 9.586 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.308e-05/2.533e-05, allocations: 5.719 kB / 323.3 MB, free: 9.582 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.002606/0.002631, allocations: 1.741 MB / 325.1 MB, free: 7.828 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007844/0.003415, allocations: 0.5652 MB / 325.6 MB, free: 7.258 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.898e-05/0.003474, allocations: 4 kB / 325.6 MB, free: 7.254 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004546/0.003929, allocations: 455 kB / 326.1 MB, free: 6.809 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003606/0.004289, allocations: 295.1 kB / 326.4 MB, free: 6.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002432/0.004533, allocations: 127.6 kB / 326.5 MB, free: 6.395 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001961/0.004729, allocations: 179.6 kB / 326.7 MB, free: 6.219 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.758e-05/0.004816, allocations: 12.22 kB / 326.7 MB, free: 6.203 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.004933, allocations: 127.8 kB / 326.8 MB, free: 6.078 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.005099, allocations: 199.6 kB / 327 MB, free: 5.883 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.005113, allocations: 8 kB / 327 MB, free: 5.875 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.22e-05/0.005195, allocations: 47.92 kB / 327 MB, free: 5.828 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.882e-05/0.005284, allocations: 95.62 kB / 327.1 MB, free: 5.734 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.717e-05/0.005321, allocations: 35.75 kB / 327.2 MB, free: 5.699 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.00553, allocations: 215.1 kB / 327.4 MB, free: 5.488 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.433e-06/0.005531, allocations: 0 / 327.4 MB, free: 5.488 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.005532, allocations: 0 / 327.4 MB, free: 5.488 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.005538, allocations: 3.938 kB / 327.4 MB, free: 5.484 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004743/0.006012, allocations: 0.5578 MB / 327.9 MB, free: 4.902 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.006043, allocations: 12.03 kB / 327.9 MB, free: 4.891 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.706e-05/0.00608, allocations: 24.91 kB / 328 MB, free: 4.867 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.00626, allocations: 250 kB / 328.2 MB, free: 4.598 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-06/0.006268, allocations: 4.375 kB / 328.2 MB, free: 4.594 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.006286, allocations: 4.359 kB / 328.2 MB, free: 4.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.006399, allocations: 62.94 kB / 328.3 MB, free: 4.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.006407, allocations: 192 / 328.3 MB, free: 4.52 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.126e-06/0.006415, allocations: 8.125 kB / 328.3 MB, free: 4.512 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.006419, allocations: 0 / 328.3 MB, free: 4.512 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.743e-05/0.006446, allocations: 19.92 kB / 328.3 MB, free: 4.492 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002132/0.00666, allocations: 172.2 kB / 328.5 MB, free: 4.309 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.006779, allocations: 38.56 kB / 328.5 MB, free: 4.262 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.735e-05/0.006797, allocations: 17.02 kB / 328.5 MB, free: 4.242 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.006811, allocations: 0 / 328.5 MB, free: 4.242 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.006831, allocations: 38.5 kB / 328.6 MB, free: 4.195 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 9.41e-07/0.006832, allocations: 0 / 328.6 MB, free: 4.195 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004814/0.007313, allocations: 214.5 kB / 328.8 MB, free: 3.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.007339, allocations: 55.41 kB / 328.8 MB, free: 3.914 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003241/0.007663, allocations: 0.5283 MB / 329.4 MB, free: 3.371 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.007676, allocations: 29.7 kB / 329.4 MB, free: 3.336 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.669e-05/0.007733, allocations: 145.3 kB / 329.5 MB, free: 3.188 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004559/0.008189, allocations: 35.69 kB / 329.6 MB, free: 3.152 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.573e-05/0.008224, allocations: 29.64 kB / 329.6 MB, free: 3.117 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.008329, allocations: 366.6 kB / 330 MB, free: 2.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.183e-05/0.008351, allocations: 8.188 kB / 330 MB, free: 2.742 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.797e-05/0.008369, allocations: 12.98 kB / 330 MB, free: 2.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.875e-05/0.008418, allocations: 37.8 kB / 330 MB, free: 2.691 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.008419, allocations: 0 / 330 MB, free: 2.691 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 9.331e-05/0.008513, allocations: 89.59 kB / 330.1 MB, free: 2.598 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.008525, allocations: 7.984 kB / 330.1 MB, free: 2.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.00853, allocations: 0 / 330.1 MB, free: 2.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.008541, allocations: 0 / 330.1 MB, free: 2.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.415e-05/0.008605, allocations: 27.92 kB / 330.1 MB, free: 2.562 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.008607, allocations: 0 / 330.1 MB, free: 2.562 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.026e-05/0.008638, allocations: 8 kB / 330.1 MB, free: 2.555 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.219e-06/0.008643, allocations: 0 / 330.1 MB, free: 2.555 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 (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.979e-05/0.008713, allocations: 124.6 kB / 330.3 MB, free: 2.422 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.008741, allocations: 27.97 kB / 330.3 MB, free: 2.395 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001405/0.008882, allocations: 119.4 kB / 330.4 MB, free: 2.273 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.008884, allocations: 0 / 330.4 MB, free: 2.273 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.008886, allocations: 4 kB / 330.4 MB, free: 2.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.00889, allocations: 0 / 330.4 MB, free: 2.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003158/0.009205, allocations: 332.2 kB / 330.7 MB, free: 1.914 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.009208, allocations: 0 / 330.7 MB, free: 1.914 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.049e-05/0.009258, allocations: 27.92 kB / 330.8 MB, free: 1.887 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.009262, allocations: 3.938 kB / 330.8 MB, free: 1.883 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.00927, allocations: 8.062 kB / 330.8 MB, free: 1.875 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.009272, allocations: 0 / 330.8 MB, free: 1.875 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.009274, allocations: 0 / 330.8 MB, free: 1.875 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.009399, allocations: 201.1 kB / 331 MB, free: 1.656 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.369e-05/0.009423, allocations: 39.7 kB / 331 MB, free: 1.617 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.00944, allocations: 7.984 kB / 331 MB, free: 1.609 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.559e-05/0.009485, allocations: 8 kB / 331 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.123e-05/0.009517, allocations: 11.92 kB / 331 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-06/0.009521, allocations: 0 / 331 MB, free: 1.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001749/0.009696, allocations: 283.2 kB / 331.3 MB, free: 1.312 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009696, allocations: 4 kB / 331.3 MB, free: 1.309 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001591/0.009855, allocations: 31.98 kB / 331.4 MB, free: 1.277 MB / 298.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.001282/0.01114, allocations: 0.5742 MB / 331.9 MB, free: 1.004 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.434e-05/0.01123, allocations: 56.72 kB / 332 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/0.01124, allocations: 4 kB / 332 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.363e-05/0.01127, allocations: 36.77 kB / 332 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/0.01148, allocations: 29.95 kB / 332.1 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006311/0.01211, allocations: 0.6221 MB / 332.7 MB, free: 220 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.591e-05/0.01219, allocations: 123.2 kB / 332.8 MB, free: 76 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.174e-05/0.01224, allocations: 16.48 kB / 332.8 MB, free: 60 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.91e-05/0.0123, allocations: 59.38 kB / 332.9 MB, free: 0 / 298.7 MB Notification: Performance of SimCode: time 6.41e-07/0.0123, allocations: 48 / 332.9 MB, free: 16 MB / 314.7 MB Notification: Performance of Templates: time 0.004062/0.01636, allocations: 1.864 MB / 334.7 MB, free: 14.15 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.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.9168252958916128]