Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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.0006924/0.0006924, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009926/0.001685, 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.0006297/0.0006297, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009337/0.001563, 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.9416/0.9416, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1768/1.118, 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.1654/0.1654, allocations: 32.8 MB / 272 MB, free: 6.277 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02449/0.1899, allocations: 12.54 MB / 284.5 MB, free: 9.691 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.Test10,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.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,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.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 285.9 MB, free: 8.379 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.035e-05/2.178e-05, allocations: 2.312 kB / 285.9 MB, free: 8.375 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.006554/0.006575, allocations: 1.715 MB / 287.6 MB, free: 6.648 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001449/0.008024, allocations: 1.216 MB / 288.8 MB, free: 5.426 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.298e-05/0.008077, allocations: 4 kB / 288.8 MB, free: 5.422 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001348/0.008212, allocations: 27.73 kB / 288.8 MB, free: 5.395 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001534/0.008365, allocations: 39.72 kB / 288.9 MB, free: 5.355 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003791/0.008745, allocations: 179.4 kB / 289 MB, free: 5.18 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.008891, allocations: 67.78 kB / 289.1 MB, free: 5.113 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.622e-05/0.008977, allocations: 19.91 kB / 289.1 MB, free: 5.094 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.779e-05/0.009075, allocations: 51.89 kB / 289.2 MB, free: 5.043 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.994e-05/0.009165, allocations: 19.92 kB / 289.2 MB, free: 5.023 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.009182, allocations: 4 kB / 289.2 MB, free: 5.02 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.009311, allocations: 55.84 kB / 289.3 MB, free: 4.965 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003067/0.01238, allocations: 19.92 kB / 289.3 MB, free: 4.945 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.639e-05/0.0124, allocations: 12 kB / 289.3 MB, free: 4.934 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.0126, allocations: 87.61 kB / 289.4 MB, free: 4.848 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.216e-05/0.01261, allocations: 0 / 289.4 MB, free: 4.848 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01261, allocations: 0 / 289.4 MB, free: 4.848 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.317e-06/0.01262, allocations: 0 / 289.4 MB, free: 4.848 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.0003943/0.01301, allocations: 292.2 kB / 289.7 MB, free: 4.539 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.01305, allocations: 12.03 kB / 289.7 MB, free: 4.527 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.74e-05/0.01308, allocations: 8.938 kB / 289.7 MB, free: 4.52 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.01323, allocations: 129.6 kB / 289.8 MB, free: 4.367 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.01324, allocations: 8.375 kB / 289.8 MB, free: 4.359 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.01326, allocations: 4.375 kB / 289.8 MB, free: 4.355 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.0134, allocations: 106.3 kB / 289.9 MB, free: 4.23 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.01341, allocations: 4.125 kB / 289.9 MB, free: 4.227 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.01342, allocations: 4.125 kB / 289.9 MB, free: 4.223 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.974e-06/0.01342, allocations: 4 kB / 289.9 MB, free: 4.219 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.723e-05/0.01345, allocations: 15.97 kB / 290 MB, free: 4.203 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002286/0.01368, allocations: 167.2 kB / 290.1 MB, free: 4.023 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.941e-05/0.01374, allocations: 26.58 kB / 290.1 MB, free: 3.988 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.918e-05/0.01376, allocations: 20.88 kB / 290.2 MB, free: 3.965 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.01378, allocations: 4 kB / 290.2 MB, free: 3.961 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.0138, allocations: 34.5 kB / 290.2 MB, free: 3.918 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.0138, allocations: 3.938 kB / 290.2 MB, free: 3.914 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003226/0.01413, allocations: 105.5 kB / 290.3 MB, free: 3.805 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/0.01415, allocations: 51.41 kB / 290.4 MB, free: 3.742 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.934e-05/0.01425, allocations: 133.6 kB / 290.5 MB, free: 3.602 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.01426, allocations: 25.7 kB / 290.5 MB, free: 3.57 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.821e-05/0.0143, allocations: 96.08 kB / 290.6 MB, free: 3.473 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/0.01432, allocations: 19.8 kB / 290.6 MB, free: 3.453 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.01436, allocations: 29.69 kB / 290.7 MB, free: 3.418 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.394e-05/0.01445, allocations: 318.8 kB / 291 MB, free: 3.098 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.636e-05/0.01446, allocations: 7.984 kB / 291 MB, free: 3.09 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.622e-05/0.0145, allocations: 43.42 kB / 291 MB, free: 3.035 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.345e-05/0.01454, allocations: 35.59 kB / 291 MB, free: 2.996 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.01454, allocations: 0 / 291 MB, free: 2.996 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.215e-05/0.01463, allocations: 57.61 kB / 291.1 MB, free: 2.934 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.01464, allocations: 4 kB / 291.1 MB, free: 2.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.01464, allocations: 0 / 291.1 MB, free: 2.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.01465, allocations: 0 / 291.1 MB, free: 2.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.739e-05/0.01474, allocations: 24.02 kB / 291.1 MB, free: 2.906 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.975e-06/0.01474, allocations: 0 / 291.1 MB, free: 2.906 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.973e-05/0.01477, allocations: 8 kB / 291.1 MB, free: 2.898 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.77e-06/0.01478, allocations: 0 / 291.1 MB, free: 2.898 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 (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 6.147e-05/0.01484, allocations: 116.6 kB / 291.3 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.914e-05/0.01487, allocations: 15.92 kB / 291.3 MB, free: 2.758 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.01497, allocations: 58.42 kB / 291.3 MB, free: 2.699 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.01497, allocations: 0 / 291.3 MB, free: 2.699 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.01497, allocations: 4 kB / 291.3 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.01498, allocations: 0 / 291.3 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003259/0.01824, allocations: 238.7 kB / 291.6 MB, free: 2.438 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.01824, allocations: 0 / 291.6 MB, free: 2.438 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.454e-05/0.0183, allocations: 12 kB / 291.6 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.162e-05/0.01831, allocations: 11.94 kB / 291.6 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.01832, allocations: 0 / 291.6 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.01832, allocations: 0 / 291.6 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.01833, allocations: 0 / 291.6 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.01833, allocations: 288 / 291.6 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001121/0.01844, allocations: 163.3 kB / 291.7 MB, free: 2.238 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.01846, allocations: 3.984 kB / 291.8 MB, free: 2.234 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.564e-05/0.01851, allocations: 8 kB / 291.8 MB, free: 2.227 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.01855, allocations: 19.97 kB / 291.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.01855, allocations: 0 / 291.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.22e-05/0.01859, allocations: 20.84 kB / 291.8 MB, free: 2.184 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01859, allocations: 0 / 291.8 MB, free: 2.184 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002175/0.0188, allocations: 23.94 kB / 291.8 MB, free: 2.16 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 (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.001561/0.02036, allocations: 0.6054 MB / 292.4 MB, free: 1.852 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.763e-05/0.02046, allocations: 28.84 kB / 292.5 MB, free: 1.82 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.876e-06/0.02047, allocations: 4 kB / 292.5 MB, free: 1.816 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.302e-05/0.02051, allocations: 25.02 kB / 292.5 MB, free: 1.789 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.02076, allocations: 95.39 kB / 292.6 MB, free: 1.684 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003513/0.02427, allocations: 204 kB / 292.8 MB, free: 1.449 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.287e-05/0.02431, allocations: 63.34 kB / 292.8 MB, free: 1.367 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.827e-05/0.02437, allocations: 15.94 kB / 292.9 MB, free: 1.352 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.743e-05/0.02445, allocations: 63.36 kB / 292.9 MB, free: 1.289 MB / 282.7 MB Notification: Performance of SimCode: time 9.52e-07/0.02445, allocations: 4 kB / 292.9 MB, free: 1.285 MB / 282.7 MB Notification: Performance of Templates: time 0.006934/0.03138, allocations: 1.709 MB / 294.6 MB, free: 15.6 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.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.899387084878981]