Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0007824/0.0007824, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001064/0.001847, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.00114/0.00114, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00137/0.00251, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8676/0.8676, allocations: 158.6 MB / 171 MB, free: 2.172 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1725/1.04, allocations: 49.5 MB / 220.5 MB, free: 5.277 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1332/0.1332, allocations: 32.34 MB / 253.6 MB, free: 4.172 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02248/0.1557, allocations: 12.3 MB / 265.9 MB, free: 7.836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 267.2 MB, free: 6.535 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.588e-06/1.069e-05, allocations: 10.25 kB / 267.2 MB, free: 6.523 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.001789/0.0018, allocations: 1.685 MB / 268.9 MB, free: 4.816 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000876/0.002676, allocations: 1.107 MB / 270 MB, free: 3.703 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.418e-05/0.00272, allocations: 4 kB / 270 MB, free: 3.699 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.002835, allocations: 15.86 kB / 270 MB, free: 3.684 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001104/0.002945, allocations: 51.64 kB / 270.1 MB, free: 3.633 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.003193, allocations: 159.6 kB / 270.2 MB, free: 3.477 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.003306, allocations: 67.78 kB / 270.3 MB, free: 3.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.541e-05/0.003381, allocations: 19.91 kB / 270.3 MB, free: 3.391 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.692e-05/0.003458, allocations: 43.92 kB / 270.4 MB, free: 3.348 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.43e-05/0.003542, allocations: 27.89 kB / 270.4 MB, free: 3.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.003558, allocations: 4 kB / 270.4 MB, free: 3.316 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.003664, allocations: 55.86 kB / 270.5 MB, free: 3.262 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.809e-05/0.003702, allocations: 15.92 kB / 270.5 MB, free: 3.246 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.094e-05/0.003723, allocations: 11.94 kB / 270.5 MB, free: 3.234 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003979/0.004121, allocations: 83.73 kB / 270.6 MB, free: 3.152 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.283e-05/0.004134, allocations: 3.938 kB / 270.6 MB, free: 3.148 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004135, allocations: 0 / 270.6 MB, free: 3.148 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.004147, allocations: 0 / 270.6 MB, free: 3.148 MB / 266.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.0003522/0.0045, allocations: 296.1 kB / 270.9 MB, free: 2.836 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.489e-05/0.004524, allocations: 8.031 kB / 270.9 MB, free: 2.828 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.977e-05/0.004554, allocations: 16.92 kB / 270.9 MB, free: 2.812 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.00467, allocations: 117.7 kB / 271 MB, free: 2.672 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.136e-06/0.004678, allocations: 8.375 kB / 271 MB, free: 2.664 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.004695, allocations: 8.312 kB / 271 MB, free: 2.656 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.004819, allocations: 106.3 kB / 271.1 MB, free: 2.531 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.004827, allocations: 192 / 271.1 MB, free: 2.531 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.004836, allocations: 8.125 kB / 271.1 MB, free: 2.523 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.00484, allocations: 0 / 271.1 MB, free: 2.523 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.346e-05/0.004864, allocations: 8 kB / 271.1 MB, free: 2.516 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001951/0.005059, allocations: 179 kB / 271.3 MB, free: 2.324 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.194e-05/0.005111, allocations: 30.52 kB / 271.3 MB, free: 2.285 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.583e-05/0.005127, allocations: 16.84 kB / 271.4 MB, free: 2.266 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.005147, allocations: 4 kB / 271.4 MB, free: 2.262 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.005166, allocations: 34.59 kB / 271.4 MB, free: 2.219 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 6.21e-07/0.005166, allocations: 0 / 271.4 MB, free: 2.219 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002602/0.005427, allocations: 109.5 kB / 271.5 MB, free: 2.105 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.364e-05/0.00545, allocations: 51.41 kB / 271.6 MB, free: 2.043 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.083e-05/0.005521, allocations: 130.7 kB / 271.7 MB, free: 1.902 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.005535, allocations: 25.7 kB / 271.7 MB, free: 1.871 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.602e-05/0.005561, allocations: 88.12 kB / 271.8 MB, free: 1.781 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.033e-05/0.005581, allocations: 31.78 kB / 271.8 MB, free: 1.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.607e-05/0.005607, allocations: 21.7 kB / 271.8 MB, free: 1.723 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.827e-05/0.005675, allocations: 318.8 kB / 272.2 MB, free: 1.402 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.168e-05/0.005687, allocations: 4 kB / 272.2 MB, free: 1.398 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.461e-05/0.005722, allocations: 51.39 kB / 272.2 MB, free: 1.336 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.705e-05/0.005759, allocations: 35.61 kB / 272.2 MB, free: 1.297 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.00576, allocations: 0 / 272.2 MB, free: 1.297 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.64e-05/0.005816, allocations: 49.62 kB / 272.3 MB, free: 1.242 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.005826, allocations: 8 kB / 272.3 MB, free: 1.234 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.00583, allocations: 3.984 kB / 272.3 MB, free: 1.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.713e-06/0.005837, allocations: 4.031 kB / 272.3 MB, free: 1.227 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.44e-05/0.005901, allocations: 12 kB / 272.3 MB, free: 1.215 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-06/0.005903, allocations: 4 kB / 272.3 MB, free: 1.211 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.24e-05/0.005926, allocations: 11.94 kB / 272.3 MB, free: 1.199 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.005931, allocations: 4 kB / 272.3 MB, free: 1.195 MB / 266.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 4.918e-05/0.00598, allocations: 116.6 kB / 272.5 MB, free: 1.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.532e-05/0.005995, allocations: 7.938 kB / 272.5 MB, free: 1.062 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.016e-05/0.006075, allocations: 74.38 kB / 272.5 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.006077, allocations: 0 / 272.5 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.006078, allocations: 3.938 kB / 272.5 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.006081, allocations: 8 kB / 272.5 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.006251, allocations: 222.7 kB / 272.8 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.006252, allocations: 4 kB / 272.8 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.597e-05/0.006288, allocations: 15.98 kB / 272.8 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.734e-06/0.006296, allocations: 7.953 kB / 272.8 MB, free: 0.707 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.006297, allocations: 0 / 272.8 MB, free: 0.707 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.519e-06/0.006302, allocations: 0 / 272.8 MB, free: 0.707 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.006303, allocations: 0 / 272.8 MB, free: 0.707 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.006303, allocations: 0 / 272.8 MB, free: 0.707 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.242e-05/0.006376, allocations: 155.4 kB / 272.9 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.006386, allocations: 8 kB / 272.9 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.311e-05/0.006419, allocations: 7.984 kB / 273 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.451e-05/0.006444, allocations: 3.984 kB / 273 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.006446, allocations: 4 kB / 273 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.109e-05/0.006467, allocations: 29.39 kB / 273 MB, free: 496 kB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006467, allocations: 0 / 273 MB, free: 496 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001356/0.006603, allocations: 23.94 kB / 273 MB, free: 472 kB / 266.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.001174/0.007777, allocations: 0.6132 MB / 273.6 MB, free: 15.83 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.776e-05/0.007864, allocations: 28.78 kB / 273.7 MB, free: 15.8 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/0.007873, allocations: 4 kB / 273.7 MB, free: 15.8 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.315e-05/0.007896, allocations: 25 kB / 273.7 MB, free: 15.77 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/0.008048, allocations: 32 kB / 273.7 MB, free: 15.74 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003945/0.008443, allocations: 192.1 kB / 273.9 MB, free: 15.52 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.376e-05/0.008477, allocations: 63.34 kB / 274 MB, free: 15.44 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.71e-05/0.008514, allocations: 7.984 kB / 274 MB, free: 15.43 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.486e-05/0.008579, allocations: 75.3 kB / 274 MB, free: 15.36 MB / 282.7 MB Notification: Performance of SimCode: time 6.22e-07/0.008579, allocations: 0 / 274 MB, free: 15.36 MB / 282.7 MB Notification: Performance of Templates: time 0.003106/0.01169, allocations: 1.701 MB / 275.7 MB, free: 13.66 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 2.835321138612926]