Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.0008304/0.0008304, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00109/0.00192, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007172/0.0007172, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008846/0.001602, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9615/0.9615, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1129/1.074, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.2707/0.2707, allocations: 34.25 MB / 278.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02701/0.2977, allocations: 13.1 MB / 291.5 MB, free: 7.328 MB / 282.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,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.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.033e-06/2.033e-06, allocations: 0 / 292.9 MB, free: 6.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.405e-05/2.608e-05, allocations: 2.312 kB / 292.9 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003167/0.003193, allocations: 1.751 MB / 294.6 MB, free: 4.41 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002014/0.005207, allocations: 1.356 MB / 296 MB, free: 3.047 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.603e-05/0.005273, allocations: 0 / 296 MB, free: 3.047 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001623/0.005435, allocations: 23.8 kB / 296 MB, free: 3.023 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002966/0.005732, allocations: 87.42 kB / 296.1 MB, free: 2.938 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004882/0.00622, allocations: 185.5 kB / 296.3 MB, free: 2.758 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002075/0.006428, allocations: 87.75 kB / 296.3 MB, free: 2.672 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.006544, allocations: 7.938 kB / 296.4 MB, free: 2.664 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.006672, allocations: 52.53 kB / 296.4 MB, free: 2.613 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.006793, allocations: 31.89 kB / 296.4 MB, free: 2.582 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.006812, allocations: 4 kB / 296.4 MB, free: 2.578 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002065/0.007018, allocations: 103.8 kB / 296.5 MB, free: 2.477 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.809e-05/0.007076, allocations: 11.94 kB / 296.5 MB, free: 2.465 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.177e-05/0.007108, allocations: 19.94 kB / 296.6 MB, free: 2.445 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002547/0.007363, allocations: 131.6 kB / 296.7 MB, free: 2.316 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.404e-05/0.007377, allocations: 0 / 296.7 MB, free: 2.316 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.007378, allocations: 0 / 296.7 MB, free: 2.316 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.00739, allocations: 0 / 296.7 MB, free: 2.316 MB / 282.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.000517/0.007907, allocations: 329.1 kB / 297 MB, free: 1.973 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.007946, allocations: 8.031 kB / 297 MB, free: 1.965 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.453e-05/0.00799, allocations: 8.922 kB / 297 MB, free: 1.957 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.00817, allocations: 133.7 kB / 297.2 MB, free: 1.801 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.008182, allocations: 4.375 kB / 297.2 MB, free: 1.797 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.008207, allocations: 8.375 kB / 297.2 MB, free: 1.789 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.008364, allocations: 106.3 kB / 297.3 MB, free: 1.664 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.008374, allocations: 192 / 297.3 MB, free: 1.664 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.008385, allocations: 4.125 kB / 297.3 MB, free: 1.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.008391, allocations: 0 / 297.3 MB, free: 1.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.875e-05/0.008429, allocations: 15.97 kB / 297.3 MB, free: 1.645 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003031/0.008733, allocations: 175.1 kB / 297.5 MB, free: 1.457 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.089e-05/0.008813, allocations: 38.56 kB / 297.5 MB, free: 1.41 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.48e-05/0.008838, allocations: 16.84 kB / 297.5 MB, free: 1.391 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.008859, allocations: 4 kB / 297.5 MB, free: 1.387 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.008885, allocations: 34.5 kB / 297.6 MB, free: 1.344 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.008886, allocations: 0 / 297.6 MB, free: 1.344 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004221/0.009308, allocations: 109.6 kB / 297.7 MB, free: 1.23 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.009338, allocations: 51.41 kB / 297.7 MB, free: 1.168 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.009461, allocations: 139.3 kB / 297.9 MB, free: 1.02 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.009474, allocations: 25.7 kB / 297.9 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.436e-05/0.009519, allocations: 92.03 kB / 298 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.009549, allocations: 27.83 kB / 298 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/0.009588, allocations: 25.66 kB / 298 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.484e-05/0.009683, allocations: 322.8 kB / 298.3 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.618e-05/0.009699, allocations: 4 kB / 298.3 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.133e-05/0.00974, allocations: 51.39 kB / 298.4 MB, free: 456 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.727e-05/0.009788, allocations: 31.61 kB / 298.4 MB, free: 420 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.009789, allocations: 0 / 298.4 MB, free: 420 kB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.822e-05/0.009877, allocations: 57.61 kB / 298.5 MB, free: 356 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.009892, allocations: 4 kB / 298.5 MB, free: 352 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.009898, allocations: 4 kB / 298.5 MB, free: 348 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.009914, allocations: 0 / 298.5 MB, free: 348 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.518e-05/0.01001, allocations: 15.98 kB / 298.5 MB, free: 332 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.477e-06/0.01001, allocations: 4.031 kB / 298.5 MB, free: 328 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.711e-05/0.01005, allocations: 8 kB / 298.5 MB, free: 320 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.01006, allocations: 4 kB / 298.5 MB, free: 316 kB / 282.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.492e-05/0.01013, allocations: 116.6 kB / 298.6 MB, free: 188 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.245e-05/0.01017, allocations: 11.92 kB / 298.6 MB, free: 176 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001463/0.01031, allocations: 70.39 kB / 298.7 MB, free: 96 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.01031, allocations: 0 / 298.7 MB, free: 96 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.01032, allocations: 0 / 298.7 MB, free: 96 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.01032, allocations: 3.984 kB / 298.7 MB, free: 92 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003047/0.01063, allocations: 239.1 kB / 299 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.01063, allocations: 0 / 299 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.208e-05/0.0107, allocations: 15.98 kB / 299 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.457e-05/0.01071, allocations: 11.94 kB / 299 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.01072, allocations: 0 / 299 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.01072, allocations: 0 / 299 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.01073, allocations: 4 kB / 299 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.01073, allocations: 0 / 299 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.01085, allocations: 155.4 kB / 299.1 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.01087, allocations: 0 / 299.1 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.339e-05/0.01093, allocations: 4 kB / 299.1 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.01096, allocations: 11.98 kB / 299.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.375e-06/0.01097, allocations: 8 kB / 299.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.723e-05/0.01102, allocations: 35.73 kB / 299.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01102, allocations: 0 / 299.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002935/0.01131, allocations: 43.86 kB / 299.2 MB, free: 15.53 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.00207/0.01338, allocations: 0.6899 MB / 299.9 MB, free: 15.2 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001167/0.0135, allocations: 36.81 kB / 300 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/0.01351, allocations: 0 / 300 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.185e-05/0.01356, allocations: 36.72 kB / 300 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.01383, allocations: 94.59 kB / 300.1 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006792/0.01451, allocations: 202.6 kB / 300.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.82e-05/0.01455, allocations: 63.34 kB / 300.4 MB, free: 14.72 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.859e-05/0.01463, allocations: 16.72 kB / 300.4 MB, free: 14.7 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.453e-05/0.01471, allocations: 67.36 kB / 300.4 MB, free: 14.63 MB / 298.7 MB Notification: Performance of SimCode: time 1.282e-06/0.01471, allocations: 0 / 300.4 MB, free: 14.63 MB / 298.7 MB Notification: Performance of Templates: time 0.003613/0.01833, allocations: 2.183 MB / 302.6 MB, free: 12.47 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8436825340613723]