Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.001146/0.001146, allocations: 80.8 kB / 21.5 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.001557/0.001557, allocations: 169.9 kB / 24.91 MB, free: 9.195 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.9646/0.9646, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.261/0.261, allocations: 34.26 MB / 296.1 MB, free: 0.7266 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 325.3 MB, free: 7.691 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.776e-05/2.945e-05, allocations: 5.578 kB / 325.3 MB, free: 7.688 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003269/0.003298, allocations: 1.686 MB / 327 MB, free: 5.988 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.004465, allocations: 0.5801 MB / 327.5 MB, free: 5.402 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.311e-05/0.004538, allocations: 0 / 327.5 MB, free: 5.402 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006499/0.005188, allocations: 455 kB / 328 MB, free: 4.957 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005651/0.005753, allocations: 295.2 kB / 328.3 MB, free: 4.668 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004768/0.00623, allocations: 179.4 kB / 328.4 MB, free: 4.492 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002761/0.006506, allocations: 179.6 kB / 328.6 MB, free: 4.316 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.006612, allocations: 8 kB / 328.6 MB, free: 4.309 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001908/0.006803, allocations: 119.8 kB / 328.7 MB, free: 4.191 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002434/0.007046, allocations: 199.6 kB / 328.9 MB, free: 3.996 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.007068, allocations: 4 kB / 328.9 MB, free: 3.992 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.731e-05/0.007165, allocations: 31.94 kB / 329 MB, free: 3.961 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.007276, allocations: 95.62 kB / 329.1 MB, free: 3.867 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.196e-05/0.007328, allocations: 36.25 kB / 329.1 MB, free: 3.832 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003119/0.00764, allocations: 199.2 kB / 329.3 MB, free: 3.637 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.007644, allocations: 0 / 329.3 MB, free: 3.637 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.007646, allocations: 0 / 329.3 MB, free: 3.637 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.007651, allocations: 4 kB / 329.3 MB, free: 3.633 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.0006276/0.008279, allocations: 0.5463 MB / 329.8 MB, free: 3.062 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.00832, allocations: 8.031 kB / 329.9 MB, free: 3.055 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.749e-05/0.008377, allocations: 24.91 kB / 329.9 MB, free: 3.031 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.008632, allocations: 254 kB / 330.1 MB, free: 2.758 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.008645, allocations: 4.375 kB / 330.1 MB, free: 2.754 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.008666, allocations: 384 / 330.1 MB, free: 2.754 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.008791, allocations: 58.89 kB / 330.2 MB, free: 2.688 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.008803, allocations: 4.188 kB / 330.2 MB, free: 2.684 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.008812, allocations: 4.125 kB / 330.2 MB, free: 2.68 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.008818, allocations: 0 / 330.2 MB, free: 2.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.144e-05/0.008849, allocations: 7.984 kB / 330.2 MB, free: 2.672 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003457/0.009195, allocations: 199.1 kB / 330.4 MB, free: 2.461 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.009356, allocations: 29.34 kB / 330.4 MB, free: 2.422 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.691e-05/0.009383, allocations: 20.94 kB / 330.4 MB, free: 2.398 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.009401, allocations: 0 / 330.4 MB, free: 2.398 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.009427, allocations: 38.5 kB / 330.5 MB, free: 2.352 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.009428, allocations: 0 / 330.5 MB, free: 2.352 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003641/0.009793, allocations: 105.6 kB / 330.6 MB, free: 2.242 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.009826, allocations: 51.41 kB / 330.6 MB, free: 2.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004703/0.0103, allocations: 0.5361 MB / 331.2 MB, free: 1.629 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.01031, allocations: 25.7 kB / 331.2 MB, free: 1.598 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.691e-05/0.0104, allocations: 137.3 kB / 331.3 MB, free: 1.457 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.01042, allocations: 19.83 kB / 331.4 MB, free: 1.438 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-05/0.01046, allocations: 25.7 kB / 331.4 MB, free: 1.406 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.01058, allocations: 354.7 kB / 331.7 MB, free: 1.051 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.765e-05/0.0106, allocations: 4 kB / 331.7 MB, free: 1.047 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.333e-05/0.01061, allocations: 4 kB / 331.7 MB, free: 1.043 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.304e-05/0.01066, allocations: 31.59 kB / 331.8 MB, free: 1.004 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.01067, allocations: 0 / 331.8 MB, free: 1.004 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.977e-05/0.01077, allocations: 65.61 kB / 331.8 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.01078, allocations: 4 kB / 331.8 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.01078, allocations: 0 / 331.8 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.0108, allocations: 4.25 kB / 331.8 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.157e-05/0.01086, allocations: 11.98 kB / 331.8 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.01087, allocations: 8 kB / 331.9 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.836e-05/0.01091, allocations: 0 / 331.9 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.01091, allocations: 4 kB / 331.9 MB, free: 0.9023 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 (5): * Single equations (assignments): 5 * 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 9.136e-05/0.01101, allocations: 116.6 kB / 332 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.832e-05/0.01105, allocations: 31.86 kB / 332 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001558/0.01121, allocations: 85.22 kB / 332.1 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.01121, allocations: 0 / 332.1 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.01121, allocations: 0 / 332.1 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.01122, allocations: 0 / 332.1 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003356/0.01155, allocations: 274.6 kB / 332.4 MB, free: 372 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.01155, allocations: 0 / 332.4 MB, free: 372 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.415e-05/0.01161, allocations: 11.98 kB / 332.4 MB, free: 360 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.01161, allocations: 0 / 332.4 MB, free: 360 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.01162, allocations: 8 kB / 332.4 MB, free: 352 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.01162, allocations: 0 / 332.4 MB, free: 352 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.01162, allocations: 0 / 332.4 MB, free: 352 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.01175, allocations: 159.5 kB / 332.5 MB, free: 176 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.441e-05/0.01178, allocations: 31.72 kB / 332.6 MB, free: 144 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.0118, allocations: 0 / 332.6 MB, free: 144 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.626e-05/0.01188, allocations: 7.984 kB / 332.6 MB, free: 136 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.662e-05/0.0119, allocations: 11.94 kB / 332.6 MB, free: 124 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.01191, allocations: 4 kB / 332.6 MB, free: 120 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002975/0.01221, allocations: 283.2 kB / 332.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.01221, allocations: 0 / 332.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002447/0.01245, allocations: 27.94 kB / 332.9 MB, free: 15.81 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 (5): * Single equations (assignments): 5 * 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.001492/0.01394, allocations: 0.5006 MB / 333.4 MB, free: 15.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.054e-05/0.01403, allocations: 24.84 kB / 333.4 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.01404, allocations: 8 kB / 333.4 MB, free: 15.54 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.609e-05/0.01407, allocations: 20.78 kB / 333.4 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.01434, allocations: 29.89 kB / 333.5 MB, free: 15.49 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008239/0.01516, allocations: 0.5815 MB / 334 MB, free: 14.88 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.01527, allocations: 122.2 kB / 334.2 MB, free: 14.74 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.623e-05/0.01531, allocations: 11.98 kB / 334.2 MB, free: 14.73 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.464e-05/0.01538, allocations: 55.38 kB / 334.2 MB, free: 14.67 MB / 314.7 MB Notification: Performance of SimCode: time 6.82e-07/0.01538, allocations: 3.938 kB / 334.2 MB, free: 14.67 MB / 314.7 MB Notification: Performance of Templates: time 0.005398/0.02077, allocations: 1.472 MB / 335.7 MB, free: 13.21 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.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.9316620836034417]