Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.001187/0.001187, 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.001413/0.001413, allocations: 175.7 kB / 24.91 MB, free: 8.727 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.044/1.044, 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.2762/0.2762, allocations: 32.81 MB / 294.6 MB, free: 1.156 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.CombiTable2Dv.Test31,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.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,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.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 323.3 MB, free: 9.609 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.748e-05/2.934e-05, allocations: 3.016 kB / 323.3 MB, free: 9.605 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003532/0.003561, allocations: 1.736 MB / 325 MB, free: 7.859 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001955/0.005516, allocations: 1.333 MB / 326.4 MB, free: 6.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.85e-05/0.005585, allocations: 0 / 326.4 MB, free: 6.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002378/0.005823, allocations: 23.8 kB / 326.4 MB, free: 6.496 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003398/0.006162, allocations: 83.55 kB / 326.5 MB, free: 6.414 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004498/0.006612, allocations: 179.4 kB / 326.6 MB, free: 6.238 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.006786, allocations: 79.77 kB / 326.7 MB, free: 6.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.006887, allocations: 12 kB / 326.7 MB, free: 6.148 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.915e-05/0.006976, allocations: 39.89 kB / 326.8 MB, free: 6.109 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.007098, allocations: 35.89 kB / 326.8 MB, free: 6.074 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.007116, allocations: 4 kB / 326.8 MB, free: 6.07 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002259/0.007342, allocations: 103.8 kB / 326.9 MB, free: 5.969 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.693e-05/0.007398, allocations: 19.92 kB / 326.9 MB, free: 5.949 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.1e-05/0.007429, allocations: 15.98 kB / 326.9 MB, free: 5.934 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00027/0.007699, allocations: 147.4 kB / 327.1 MB, free: 5.789 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.007703, allocations: 0 / 327.1 MB, free: 5.789 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.474e-06/0.007706, allocations: 3.984 kB / 327.1 MB, free: 5.785 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.00771, allocations: 0 / 327.1 MB, free: 5.785 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.0004135/0.008124, allocations: 305.5 kB / 327.4 MB, free: 5.465 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.008164, allocations: 15.97 kB / 327.4 MB, free: 5.449 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.967e-05/0.008203, allocations: 8.922 kB / 327.4 MB, free: 5.441 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.008376, allocations: 133.7 kB / 327.5 MB, free: 5.285 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.699e-06/0.008386, allocations: 384 / 327.5 MB, free: 5.285 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.008407, allocations: 4.375 kB / 327.6 MB, free: 5.281 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.008571, allocations: 110.3 kB / 327.7 MB, free: 5.152 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.008581, allocations: 192 / 327.7 MB, free: 5.152 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.008595, allocations: 8.125 kB / 327.7 MB, free: 5.145 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.0086, allocations: 0 / 327.7 MB, free: 5.145 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.108e-05/0.008631, allocations: 7.984 kB / 327.7 MB, free: 5.137 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003129/0.008944, allocations: 179.1 kB / 327.8 MB, free: 4.945 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.879e-05/0.009013, allocations: 30.5 kB / 327.9 MB, free: 4.906 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.982e-05/0.009032, allocations: 8.859 kB / 327.9 MB, free: 4.895 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.009049, allocations: 0 / 327.9 MB, free: 4.895 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.00908, allocations: 50.48 kB / 327.9 MB, free: 4.836 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.009081, allocations: 0 / 327.9 MB, free: 4.836 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003853/0.009467, allocations: 101.6 kB / 328 MB, free: 4.73 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.009508, allocations: 85.09 kB / 328.1 MB, free: 4.629 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.009655, allocations: 145.1 kB / 328.3 MB, free: 4.477 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.009668, allocations: 25.7 kB / 328.3 MB, free: 4.445 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.739e-05/0.009706, allocations: 88.09 kB / 328.4 MB, free: 4.355 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.765e-05/0.009743, allocations: 31.77 kB / 328.4 MB, free: 4.324 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.993e-05/0.009783, allocations: 17.72 kB / 328.4 MB, free: 4.301 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.707e-05/0.00988, allocations: 322.8 kB / 328.7 MB, free: 3.977 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.27e-05/0.009903, allocations: 8 kB / 328.7 MB, free: 3.969 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.75e-05/0.009951, allocations: 55.33 kB / 328.8 MB, free: 3.902 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.109e-05/0.01, allocations: 27.67 kB / 328.8 MB, free: 3.871 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.01, allocations: 0 / 328.8 MB, free: 3.871 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.306e-05/0.0101, allocations: 57.62 kB / 328.9 MB, free: 3.809 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.01011, allocations: 7.984 kB / 328.9 MB, free: 3.801 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.01011, allocations: 0 / 328.9 MB, free: 3.801 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.01013, allocations: 0 / 328.9 MB, free: 3.801 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.542e-05/0.01022, allocations: 19.92 kB / 328.9 MB, free: 3.781 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.01023, allocations: 0 / 328.9 MB, free: 3.781 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.624e-05/0.01026, allocations: 12.03 kB / 328.9 MB, free: 3.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.01027, allocations: 3.938 kB / 328.9 MB, free: 3.766 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.506e-05/0.01034, allocations: 116.7 kB / 329 MB, free: 3.641 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.508e-05/0.01038, allocations: 15.92 kB / 329.1 MB, free: 3.625 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001349/0.01051, allocations: 66.75 kB / 329.1 MB, free: 3.555 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.01052, allocations: 0 / 329.1 MB, free: 3.555 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.01052, allocations: 0 / 329.1 MB, free: 3.555 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.01052, allocations: 7.984 kB / 329.1 MB, free: 3.547 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003536/0.01087, allocations: 222.7 kB / 329.3 MB, free: 3.305 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.01088, allocations: 0 / 329.3 MB, free: 3.305 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.092e-05/0.01095, allocations: 23.98 kB / 329.4 MB, free: 3.281 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.01095, allocations: 0 / 329.4 MB, free: 3.281 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.01096, allocations: 4 kB / 329.4 MB, free: 3.277 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.01096, allocations: 4 kB / 329.4 MB, free: 3.273 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.01096, allocations: 0 / 329.4 MB, free: 3.273 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.01108, allocations: 151.4 kB / 329.5 MB, free: 3.109 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.526e-05/0.0111, allocations: 15.92 kB / 329.5 MB, free: 3.094 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.01111, allocations: 4 kB / 329.5 MB, free: 3.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.761e-05/0.01118, allocations: 4 kB / 329.5 MB, free: 3.086 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.194e-05/0.01121, allocations: 7.984 kB / 329.6 MB, free: 3.078 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.01122, allocations: 4 kB / 329.6 MB, free: 3.074 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.372e-05/0.01126, allocations: 25.78 kB / 329.6 MB, free: 3.047 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01126, allocations: 0 / 329.6 MB, free: 3.047 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000283/0.01154, allocations: 47.86 kB / 329.6 MB, free: 3 MB / 298.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.001875/0.01342, allocations: 0.6211 MB / 330.3 MB, free: 2.695 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001128/0.01353, allocations: 40.77 kB / 330.3 MB, free: 2.652 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.01353, allocations: 0 / 330.3 MB, free: 2.652 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.242e-05/0.01357, allocations: 16.86 kB / 330.3 MB, free: 2.633 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.01381, allocations: 31.81 kB / 330.3 MB, free: 2.602 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003985/0.01421, allocations: 196.1 kB / 330.5 MB, free: 2.383 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.988e-05/0.01426, allocations: 67.28 kB / 330.6 MB, free: 2.297 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.769e-05/0.01432, allocations: 17.02 kB / 330.6 MB, free: 2.277 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.145e-05/0.01442, allocations: 75.34 kB / 330.7 MB, free: 2.203 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01442, allocations: 0 / 330.7 MB, free: 2.203 MB / 298.7 MB Notification: Performance of Templates: time 0.004221/0.01864, allocations: 2.154 MB / 332.8 MB, free: 72 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.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.015406436752528]