Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.0008845/0.0008845, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001123/0.002008, allocations: 449.7 kB / 10.37 MB, free: 328 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.0006951/0.0006951, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001204/0.001899, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.9883/0.9883, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1009/1.089, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.2905/0.2905, allocations: 32.81 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02775/0.3182, allocations: 12.53 MB / 289.3 MB, free: 8.672 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.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 290.6 MB, free: 7.645 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.964e-05/3.184e-05, allocations: 3.078 kB / 290.6 MB, free: 7.641 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.002982/0.003014, allocations: 1.688 MB / 292.3 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.004038, allocations: 0.569 MB / 292.9 MB, free: 5.859 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.997e-05/0.004118, allocations: 0 / 292.9 MB, free: 5.859 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006258/0.004743, allocations: 490.7 kB / 293.4 MB, free: 5.543 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004805/0.005224, allocations: 315.1 kB / 293.7 MB, free: 5.234 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005178/0.005742, allocations: 172.4 kB / 293.8 MB, free: 5.066 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002651/0.006007, allocations: 171.6 kB / 294 MB, free: 4.898 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.888e-05/0.006096, allocations: 15.97 kB / 294 MB, free: 4.883 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001877/0.006283, allocations: 151.8 kB / 294.2 MB, free: 4.734 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002055/0.006489, allocations: 191.7 kB / 294.4 MB, free: 4.547 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.006509, allocations: 8 kB / 294.4 MB, free: 4.539 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.847e-05/0.006608, allocations: 27.92 kB / 294.4 MB, free: 4.512 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.006709, allocations: 79.72 kB / 294.5 MB, free: 4.434 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.375e-05/0.006763, allocations: 31.75 kB / 294.5 MB, free: 4.402 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002761/0.007039, allocations: 183.2 kB / 294.7 MB, free: 4.223 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.253e-05/0.007061, allocations: 3.984 kB / 294.7 MB, free: 4.219 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.007062, allocations: 0 / 294.7 MB, free: 4.219 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.119e-05/0.007084, allocations: 3.938 kB / 294.7 MB, free: 4.215 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007369/0.00782, allocations: 0.5844 MB / 295.3 MB, free: 3.605 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.007861, allocations: 8.031 kB / 295.3 MB, free: 3.598 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.841e-05/0.00792, allocations: 24.91 kB / 295.3 MB, free: 3.574 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.0082, allocations: 254 kB / 295.6 MB, free: 3.297 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.008212, allocations: 384 / 295.6 MB, free: 3.297 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.008224, allocations: 4.375 kB / 295.6 MB, free: 3.293 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.008386, allocations: 58.88 kB / 295.6 MB, free: 3.227 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.008397, allocations: 192 / 295.6 MB, free: 3.227 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.008409, allocations: 8.125 kB / 295.6 MB, free: 3.219 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.008417, allocations: 0 / 295.6 MB, free: 3.219 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.505e-05/0.008442, allocations: 4 kB / 295.6 MB, free: 3.215 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003799/0.008822, allocations: 191.1 kB / 295.8 MB, free: 3.012 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.166e-05/0.008883, allocations: 26.52 kB / 295.8 MB, free: 2.977 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.075e-05/0.008904, allocations: 8.922 kB / 295.8 MB, free: 2.965 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/0.008933, allocations: 0 / 295.8 MB, free: 2.965 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.008967, allocations: 38.56 kB / 295.9 MB, free: 2.918 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.008968, allocations: 0 / 295.9 MB, free: 2.918 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001747/0.009143, allocations: 57.66 kB / 295.9 MB, free: 2.855 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.009186, allocations: 59.34 kB / 296 MB, free: 2.785 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004578/0.009644, allocations: 0.5205 MB / 296.5 MB, free: 2.25 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.009657, allocations: 29.7 kB / 296.5 MB, free: 2.215 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8e-05/0.009737, allocations: 149.2 kB / 296.7 MB, free: 2.062 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.009755, allocations: 8.078 kB / 296.7 MB, free: 2.055 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.168e-05/0.009787, allocations: 13.72 kB / 296.7 MB, free: 2.035 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.0099, allocations: 358.7 kB / 297.1 MB, free: 1.676 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.648e-06/0.009909, allocations: 0 / 297.1 MB, free: 1.676 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.157e-06/0.009918, allocations: 7.938 kB / 297.1 MB, free: 1.668 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.984e-05/0.009948, allocations: 11.69 kB / 297.1 MB, free: 1.652 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.009951, allocations: 0 / 297.1 MB, free: 1.652 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.061e-05/0.01003, allocations: 53.67 kB / 297.1 MB, free: 1.594 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.01005, allocations: 11.88 kB / 297.1 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.01005, allocations: 4.094 kB / 297.2 MB, free: 1.578 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.01006, allocations: 7.984 kB / 297.2 MB, free: 1.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.677e-05/0.01013, allocations: 4 kB / 297.2 MB, free: 1.566 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-06/0.01013, allocations: 4 kB / 297.2 MB, free: 1.562 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.194e-05/0.01016, allocations: 0 / 297.2 MB, free: 1.562 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.01017, allocations: 0 / 297.2 MB, free: 1.562 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 (2): * Single equations (assignments): 2 * 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 8.151e-05/0.01025, allocations: 116.7 kB / 297.3 MB, free: 1.438 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.574e-05/0.01029, allocations: 23.91 kB / 297.3 MB, free: 1.414 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/0.01041, allocations: 72.73 kB / 297.4 MB, free: 1.336 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.01041, allocations: 0 / 297.4 MB, free: 1.336 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.01041, allocations: 4.031 kB / 297.4 MB, free: 1.332 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.01042, allocations: 0 / 297.4 MB, free: 1.332 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.01058, allocations: 133.8 kB / 297.5 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.01059, allocations: 3.984 kB / 297.5 MB, free: 1.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.395e-05/0.01062, allocations: 7.938 kB / 297.5 MB, free: 1.172 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.305e-05/0.01066, allocations: 39.64 kB / 297.6 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.01066, allocations: 0 / 297.6 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-06/0.01066, allocations: 3.938 kB / 297.6 MB, free: 1.129 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.01066, allocations: 4 kB / 297.6 MB, free: 1.125 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.01066, allocations: 0 / 297.6 MB, free: 1.125 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.01077, allocations: 151.5 kB / 297.7 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.01078, allocations: 0 / 297.7 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.746e-05/0.01084, allocations: 7.938 kB / 297.7 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.146e-05/0.01085, allocations: 0 / 297.7 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.01086, allocations: 0 / 297.7 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002434/0.0111, allocations: 283.2 kB / 298 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0111, allocations: 0 / 298 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001906/0.01129, allocations: 15.98 kB / 298 MB, free: 0.6602 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 (2): * Single equations (assignments): 2 * 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.001327/0.01262, allocations: 478.8 kB / 298.5 MB, free: 464 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.923e-05/0.01269, allocations: 16.78 kB / 298.5 MB, free: 444 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/0.0127, allocations: 8 kB / 298.5 MB, free: 436 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.264e-05/0.01271, allocations: 8.859 kB / 298.5 MB, free: 424 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.01296, allocations: 42.06 kB / 298.6 MB, free: 384 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00089/0.01385, allocations: 0.5632 MB / 299.1 MB, free: 15.78 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.527e-05/0.01395, allocations: 119.2 kB / 299.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.427e-05/0.01398, allocations: 11.97 kB / 299.3 MB, free: 15.63 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.568e-05/0.01404, allocations: 55.38 kB / 299.3 MB, free: 15.58 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01404, allocations: 0 / 299.3 MB, free: 15.58 MB / 298.7 MB Notification: Performance of Templates: time 0.004299/0.01834, allocations: 1.252 MB / 300.6 MB, free: 14.34 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.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.9105714028701186]