Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007605/0.0007605, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001173/0.001934, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006704/0.0006704, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000986/0.001656, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8856/0.8856, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1735/1.059, allocations: 52.49 MB / 238.5 MB, free: 7.613 MB / 234.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.1446/0.1446, allocations: 32.79 MB / 272 MB, free: 6.293 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02295/0.1675, allocations: 12.53 MB / 284.5 MB, free: 9.711 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 285.9 MB, free: 8.391 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.203e-05/2.378e-05, allocations: 9.406 kB / 285.9 MB, free: 8.383 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.002291/0.002314, allocations: 1.707 MB / 287.6 MB, free: 6.664 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006754/0.00299, allocations: 450.6 kB / 288 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.774e-05/0.003048, allocations: 8 kB / 288 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003998/0.003447, allocations: 483 kB / 288.5 MB, free: 5.738 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000253/0.0037, allocations: 271.3 kB / 288.8 MB, free: 5.473 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003544/0.004055, allocations: 179.4 kB / 288.9 MB, free: 5.297 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002049/0.00426, allocations: 163.7 kB / 289.1 MB, free: 5.137 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.128e-05/0.004341, allocations: 12.17 kB / 289.1 MB, free: 5.125 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.004489, allocations: 159.7 kB / 289.3 MB, free: 4.969 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.004644, allocations: 191.6 kB / 289.5 MB, free: 4.781 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.004662, allocations: 0 / 289.5 MB, free: 4.781 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.746e-05/0.00474, allocations: 35.92 kB / 289.5 MB, free: 4.746 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000217/0.004957, allocations: 83.72 kB / 289.6 MB, free: 4.664 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.993e-05/0.004987, allocations: 35.75 kB / 289.6 MB, free: 4.629 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.005183, allocations: 195.1 kB / 289.8 MB, free: 4.438 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.182e-05/0.005195, allocations: 0 / 289.8 MB, free: 4.438 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.005196, allocations: 0 / 289.8 MB, free: 4.438 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.005205, allocations: 0 / 289.8 MB, free: 4.438 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.0004943/0.0057, allocations: 0.5837 MB / 290.4 MB, free: 3.828 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.925e-05/0.005729, allocations: 12.03 kB / 290.4 MB, free: 3.816 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.338e-05/0.005772, allocations: 24.91 kB / 290.4 MB, free: 3.793 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.005959, allocations: 242.1 kB / 290.7 MB, free: 3.531 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.00597, allocations: 8.375 kB / 290.7 MB, free: 3.523 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.00599, allocations: 4.375 kB / 290.7 MB, free: 3.52 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.541e-05/0.006085, allocations: 58.95 kB / 290.7 MB, free: 3.453 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.006093, allocations: 192 / 290.7 MB, free: 3.453 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-06/0.006101, allocations: 7.875 kB / 290.7 MB, free: 3.445 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.006105, allocations: 0 / 290.7 MB, free: 3.445 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.126e-05/0.006127, allocations: 15.92 kB / 290.8 MB, free: 3.43 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002433/0.00637, allocations: 199 kB / 290.9 MB, free: 3.219 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.00649, allocations: 33.38 kB / 291 MB, free: 3.176 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.176e-05/0.006501, allocations: 8.859 kB / 291 MB, free: 3.164 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.006516, allocations: 3.938 kB / 291 MB, free: 3.16 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.006538, allocations: 46.58 kB / 291 MB, free: 3.105 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.006539, allocations: 0 / 291 MB, free: 3.105 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002719/0.006811, allocations: 93.7 kB / 291.1 MB, free: 3.008 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/0.006836, allocations: 55.34 kB / 291.2 MB, free: 2.941 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002863/0.007122, allocations: 0.5127 MB / 291.7 MB, free: 2.414 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.007133, allocations: 33.7 kB / 291.7 MB, free: 2.375 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.577e-05/0.007189, allocations: 145.2 kB / 291.9 MB, free: 2.23 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.007208, allocations: 15.84 kB / 291.9 MB, free: 2.215 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-05/0.007235, allocations: 17.72 kB / 291.9 MB, free: 2.191 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.303e-05/0.007318, allocations: 358.7 kB / 292.3 MB, free: 1.832 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.044e-05/0.007328, allocations: 8 kB / 292.3 MB, free: 1.824 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.768e-06/0.007338, allocations: 4 kB / 292.3 MB, free: 1.82 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.684e-05/0.007365, allocations: 19.67 kB / 292.3 MB, free: 1.797 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.007366, allocations: 0 / 292.3 MB, free: 1.797 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.584e-05/0.007431, allocations: 73.55 kB / 292.4 MB, free: 1.719 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.007442, allocations: 4 kB / 292.4 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.007446, allocations: 3.984 kB / 292.4 MB, free: 1.711 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.007457, allocations: 0 / 292.4 MB, free: 1.711 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.402e-05/0.007501, allocations: 11.98 kB / 292.4 MB, free: 1.699 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/0.007504, allocations: 4 kB / 292.4 MB, free: 1.695 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.169e-05/0.007526, allocations: 0 / 292.4 MB, free: 1.695 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-06/0.00753, allocations: 4 kB / 292.4 MB, free: 1.691 MB / 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 (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 6.578e-05/0.007595, allocations: 112.7 kB / 292.5 MB, free: 1.57 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.007621, allocations: 27.91 kB / 292.5 MB, free: 1.543 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001186/0.00774, allocations: 93.42 kB / 292.6 MB, free: 1.445 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.007741, allocations: 0 / 292.6 MB, free: 1.445 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.007743, allocations: 0 / 292.6 MB, free: 1.445 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.007747, allocations: 3.984 kB / 292.6 MB, free: 1.441 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002318/0.007979, allocations: 266.7 kB / 292.9 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.007981, allocations: 3.938 kB / 292.9 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.2e-05/0.008013, allocations: 12 kB / 292.9 MB, free: 1.141 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.472e-05/0.008038, allocations: 39.69 kB / 292.9 MB, free: 1.102 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.008043, allocations: 4 kB / 292.9 MB, free: 1.098 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.008048, allocations: 0 / 292.9 MB, free: 1.098 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.00805, allocations: 0 / 292.9 MB, free: 1.098 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.008053, allocations: 3.938 kB / 292.9 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004528/0.008506, allocations: 163.5 kB / 293.1 MB, free: 0.918 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.00852, allocations: 0 / 293.1 MB, free: 0.918 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.524e-05/0.008555, allocations: 0 / 293.1 MB, free: 0.918 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.008585, allocations: 7.984 kB / 293.1 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.00859, allocations: 4 kB / 293.1 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001748/0.008764, allocations: 279.2 kB / 293.4 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.008765, allocations: 0 / 293.4 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001484/0.008913, allocations: 27.94 kB / 293.4 MB, free: 0.6055 MB / 282.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.001171/0.01008, allocations: 0.5477 MB / 294 MB, free: 340 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.442e-05/0.01017, allocations: 20.8 kB / 294 MB, free: 316 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/0.01018, allocations: 4 kB / 294 MB, free: 312 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.601e-05/0.0102, allocations: 28.97 kB / 294 MB, free: 280 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.01045, allocations: 101.2 kB / 294.1 MB, free: 164 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008534/0.0113, allocations: 0.5821 MB / 294.7 MB, free: 15.54 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.817e-05/0.01139, allocations: 121.3 kB / 294.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.289e-05/0.01143, allocations: 7.984 kB / 294.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.266e-05/0.01149, allocations: 59.36 kB / 294.9 MB, free: 15.34 MB / 298.7 MB Notification: Performance of SimCode: time 1.863e-06/0.0115, allocations: 0 / 294.9 MB, free: 15.34 MB / 298.7 MB Notification: Performance of Templates: time 0.003815/0.01531, allocations: 1.448 MB / 296.3 MB, free: 13.91 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.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.7057986073195934]