Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.001353/0.001353, 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.001379/0.001379, 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.9917/0.9917, 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.2494/0.2494, allocations: 34.26 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.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 325.3 MB, free: 7.648 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.356e-05/3.546e-05, allocations: 3.812 kB / 325.3 MB, free: 7.645 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003725/0.00376, allocations: 1.748 MB / 327.1 MB, free: 5.887 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.004868, allocations: 0.5801 MB / 327.6 MB, free: 5.301 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.898e-05/0.004937, allocations: 4 kB / 327.6 MB, free: 5.297 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005788/0.005516, allocations: 447.1 kB / 328.1 MB, free: 4.859 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003586/0.005875, allocations: 299.1 kB / 328.4 MB, free: 4.566 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003376/0.006212, allocations: 171.5 kB / 328.5 MB, free: 4.398 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002386/0.006451, allocations: 183.5 kB / 328.7 MB, free: 4.219 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.006551, allocations: 12 kB / 328.7 MB, free: 4.207 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.006682, allocations: 127.8 kB / 328.9 MB, free: 4.082 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001713/0.006853, allocations: 199.6 kB / 329.1 MB, free: 3.887 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.006869, allocations: 4 kB / 329.1 MB, free: 3.883 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.746e-05/0.006936, allocations: 31.92 kB / 329.1 MB, free: 3.852 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.374e-05/0.00702, allocations: 87.7 kB / 329.2 MB, free: 3.766 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.771e-05/0.007058, allocations: 44.17 kB / 329.2 MB, free: 3.723 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.007262, allocations: 207.1 kB / 329.4 MB, free: 3.52 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.007265, allocations: 4 kB / 329.4 MB, free: 3.516 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.033e-06/0.007272, allocations: 0 / 329.4 MB, free: 3.516 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.007278, allocations: 0 / 329.4 MB, free: 3.516 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.0004507/0.007729, allocations: 0.5463 MB / 330 MB, free: 2.945 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.007761, allocations: 8.031 kB / 330 MB, free: 2.938 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.233e-05/0.007804, allocations: 24.91 kB / 330 MB, free: 2.914 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.007999, allocations: 246 kB / 330.2 MB, free: 2.648 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.308e-06/0.008009, allocations: 8.312 kB / 330.3 MB, free: 2.641 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.008025, allocations: 384 / 330.3 MB, free: 2.641 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.008133, allocations: 66.88 kB / 330.3 MB, free: 2.566 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.008142, allocations: 4.188 kB / 330.3 MB, free: 2.562 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.00815, allocations: 4.125 kB / 330.3 MB, free: 2.559 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.008155, allocations: 0 / 330.3 MB, free: 2.559 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.314e-05/0.008178, allocations: 8 kB / 330.3 MB, free: 2.551 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003015/0.00848, allocations: 215 kB / 330.5 MB, free: 2.324 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.175e-05/0.008541, allocations: 26.52 kB / 330.6 MB, free: 2.289 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.859e-05/0.00856, allocations: 8.859 kB / 330.6 MB, free: 2.277 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.00858, allocations: 4 kB / 330.6 MB, free: 2.273 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.008605, allocations: 34.59 kB / 330.6 MB, free: 2.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.008606, allocations: 4 kB / 330.6 MB, free: 2.227 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003839/0.00899, allocations: 129.6 kB / 330.7 MB, free: 2.094 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.009018, allocations: 51.41 kB / 330.8 MB, free: 2.031 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00037/0.009388, allocations: 0.5322 MB / 331.3 MB, free: 1.484 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.009403, allocations: 25.7 kB / 331.4 MB, free: 1.453 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.827e-05/0.009462, allocations: 141.3 kB / 331.5 MB, free: 1.309 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.009489, allocations: 27.78 kB / 331.5 MB, free: 1.281 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/0.009525, allocations: 17.7 kB / 331.5 MB, free: 1.258 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.539e-05/0.00962, allocations: 354.7 kB / 331.9 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.814e-05/0.009639, allocations: 12 kB / 331.9 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.359e-05/0.009652, allocations: 4 kB / 331.9 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.473e-05/0.009697, allocations: 39.58 kB / 331.9 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.009698, allocations: 0 / 331.9 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001514/0.009849, allocations: 73.83 kB / 332 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.009863, allocations: 8 kB / 332 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.009867, allocations: 0 / 332 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.009879, allocations: 0 / 332 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.687e-05/0.009956, allocations: 15.98 kB / 332 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.00996, allocations: 4.062 kB / 332 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.968e-05/0.00999, allocations: 8 kB / 332 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.009995, allocations: 0 / 332 MB, free: 0.7266 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 7.013e-05/0.01007, allocations: 120.6 kB / 332.2 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.9e-05/0.01009, allocations: 27.91 kB / 332.2 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001408/0.01024, allocations: 93.55 kB / 332.3 MB, free: 484 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.01024, allocations: 3.938 kB / 332.3 MB, free: 480 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.01024, allocations: 4.281 kB / 332.3 MB, free: 476 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.01024, allocations: 0 / 332.3 MB, free: 476 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/0.01048, allocations: 286.5 kB / 332.6 MB, free: 164 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.01048, allocations: 0 / 332.6 MB, free: 164 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.762e-05/0.01053, allocations: 31.97 kB / 332.6 MB, free: 132 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.01054, allocations: 0 / 332.6 MB, free: 132 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.01054, allocations: 3.984 kB / 332.6 MB, free: 128 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.01054, allocations: 0 / 332.6 MB, free: 128 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01054, allocations: 0 / 332.6 MB, free: 128 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.01065, allocations: 175.4 kB / 332.8 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.245e-05/0.01067, allocations: 35.72 kB / 332.8 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.01069, allocations: 0 / 332.8 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.358e-05/0.01073, allocations: 7.984 kB / 332.8 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.939e-05/0.01076, allocations: 4 kB / 332.8 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.01076, allocations: 4 kB / 332.8 MB, free: 15.89 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001646/0.01093, allocations: 287.2 kB / 333.1 MB, free: 15.61 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01093, allocations: 0 / 333.1 MB, free: 15.61 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001439/0.01107, allocations: 27.94 kB / 333.1 MB, free: 15.58 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.001103/0.01218, allocations: 0.4938 MB / 333.6 MB, free: 15.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.525e-05/0.01227, allocations: 32.78 kB / 333.7 MB, free: 15.31 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/0.01228, allocations: 4 kB / 333.7 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.412e-05/0.0123, allocations: 21 kB / 333.7 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.01251, allocations: 48.25 kB / 333.7 MB, free: 15.24 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007441/0.01325, allocations: 0.5893 MB / 334.3 MB, free: 14.62 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.624e-05/0.01333, allocations: 123.2 kB / 334.4 MB, free: 14.48 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.95e-05/0.01337, allocations: 8.734 kB / 334.4 MB, free: 14.47 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.572e-05/0.01342, allocations: 63.3 kB / 334.5 MB, free: 14.41 MB / 314.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01342, allocations: 4 kB / 334.5 MB, free: 14.4 MB / 314.7 MB Notification: Performance of Templates: time 0.003813/0.01724, allocations: 1.581 MB / 336.1 MB, free: 12.83 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.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.9105314258486032]