Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.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.0007112/0.0007112, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001048/0.00176, 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.0006279/0.0006279, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000941/0.001569, 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.8723/0.8723, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1537/1.026, allocations: 52.48 MB / 238.5 MB, free: 7.629 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.1293/0.1293, allocations: 32.81 MB / 272 MB, free: 6.293 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0239/0.1532, allocations: 12.53 MB / 284.5 MB, free: 9.715 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.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 285.9 MB, free: 8.383 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.175e-05/1.304e-05, allocations: 6.25 kB / 285.9 MB, free: 8.375 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.001836/0.001849, allocations: 1.691 MB / 287.6 MB, free: 6.672 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004839/0.002333, allocations: 426.8 kB / 288 MB, free: 6.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.081e-05/0.002374, allocations: 4 kB / 288 MB, free: 6.246 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000121/0.002495, allocations: 35.77 kB / 288 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.45e-05/0.002589, allocations: 39.72 kB / 288.1 MB, free: 6.172 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001715/0.002761, allocations: 99.56 kB / 288.2 MB, free: 6.074 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.002875, allocations: 75.84 kB / 288.2 MB, free: 6 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.338e-05/0.002948, allocations: 23.97 kB / 288.3 MB, free: 5.977 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.458e-05/0.003033, allocations: 55.83 kB / 288.3 MB, free: 5.922 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.357e-05/0.003096, allocations: 27.91 kB / 288.3 MB, free: 5.895 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.003109, allocations: 4 kB / 288.4 MB, free: 5.891 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.647e-05/0.003176, allocations: 43.92 kB / 288.4 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.517e-05/0.003211, allocations: 15.94 kB / 288.4 MB, free: 5.832 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.013e-05/0.003231, allocations: 11.94 kB / 288.4 MB, free: 5.82 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.003356, allocations: 91.55 kB / 288.5 MB, free: 5.73 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.628e-06/0.003366, allocations: 4 kB / 288.5 MB, free: 5.727 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.003366, allocations: 0 / 288.5 MB, free: 5.727 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.003373, allocations: 4 kB / 288.5 MB, free: 5.723 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0002921/0.003665, allocations: 300.1 kB / 288.8 MB, free: 5.406 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.688e-05/0.003692, allocations: 12.03 kB / 288.8 MB, free: 5.395 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.679e-05/0.003719, allocations: 8.938 kB / 288.8 MB, free: 5.387 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.003831, allocations: 141.5 kB / 289 MB, free: 5.223 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.00384, allocations: 8.375 kB / 289 MB, free: 5.215 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.003859, allocations: 4.375 kB / 289 MB, free: 5.211 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.618e-05/0.003945, allocations: 66.88 kB / 289 MB, free: 5.137 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.944e-06/0.003952, allocations: 192 / 289 MB, free: 5.137 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.00396, allocations: 8.125 kB / 289.1 MB, free: 5.129 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.003964, allocations: 8 kB / 289.1 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.62e-05/0.00399, allocations: 19.92 kB / 289.1 MB, free: 5.102 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001906/0.004181, allocations: 186.9 kB / 289.3 MB, free: 4.902 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.377e-05/0.004235, allocations: 50.53 kB / 289.3 MB, free: 4.844 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.52e-05/0.00425, allocations: 12.86 kB / 289.3 MB, free: 4.828 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.004266, allocations: 7.938 kB / 289.3 MB, free: 4.82 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.556e-05/0.004282, allocations: 30.56 kB / 289.4 MB, free: 4.781 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.004283, allocations: 0 / 289.4 MB, free: 4.781 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004133/0.004696, allocations: 205.9 kB / 289.6 MB, free: 4.574 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/0.004722, allocations: 55.41 kB / 289.6 MB, free: 4.508 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.896e-05/0.004801, allocations: 147.4 kB / 289.8 MB, free: 4.352 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.004809, allocations: 25.7 kB / 289.8 MB, free: 4.32 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.909e-05/0.004838, allocations: 100.1 kB / 289.9 MB, free: 4.219 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.004866, allocations: 51.52 kB / 289.9 MB, free: 4.168 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/0.004897, allocations: 21.72 kB / 290 MB, free: 4.141 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.841e-05/0.004965, allocations: 330.8 kB / 290.3 MB, free: 3.809 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.452e-05/0.00498, allocations: 11.94 kB / 290.3 MB, free: 3.797 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.61e-05/0.004996, allocations: 15.48 kB / 290.3 MB, free: 3.785 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.923e-05/0.005035, allocations: 48.77 kB / 290.4 MB, free: 3.734 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.005036, allocations: 0 / 290.4 MB, free: 3.734 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 6.198e-05/0.005098, allocations: 69.67 kB / 290.4 MB, free: 3.66 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/0.005108, allocations: 4 kB / 290.4 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.005112, allocations: 0 / 290.4 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.286e-06/0.00512, allocations: 0 / 290.4 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-05/0.005187, allocations: 31.92 kB / 290.5 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.584e-06/0.00519, allocations: 0 / 290.5 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.607e-05/0.005206, allocations: 4 kB / 290.5 MB, free: 3.621 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.005211, allocations: 3.984 kB / 290.5 MB, free: 3.617 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 (13): * Single equations (assignments): 13 * 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 5.105e-05/0.005262, allocations: 128.6 kB / 290.6 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.683e-05/0.005279, allocations: 8 kB / 290.6 MB, free: 3.473 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.519e-05/0.005374, allocations: 90.42 kB / 290.7 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.005377, allocations: 4 kB / 290.7 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.12e-07/0.005378, allocations: 0 / 290.7 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.00538, allocations: 0 / 290.7 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/0.005601, allocations: 291.4 kB / 291 MB, free: 3.066 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.005603, allocations: 4 kB / 291 MB, free: 3.062 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.555e-05/0.005649, allocations: 23.98 kB / 291 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.304e-06/0.005656, allocations: 11.98 kB / 291 MB, free: 3.027 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.005658, allocations: 0 / 291 MB, free: 3.027 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-06/0.005663, allocations: 4 kB / 291 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.005666, allocations: 11.88 kB / 291 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.005667, allocations: 0 / 291 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.497e-05/0.005752, allocations: 183 kB / 291.2 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.077e-06/0.005761, allocations: 0 / 291.2 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.161e-05/0.005792, allocations: 4 kB / 291.2 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.192e-05/0.005824, allocations: 15.92 kB / 291.2 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.005828, allocations: 0 / 291.2 MB, free: 2.797 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.618e-05/0.005854, allocations: 31.66 kB / 291.3 MB, free: 2.762 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005854, allocations: 4 kB / 291.3 MB, free: 2.758 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001306/0.005985, allocations: 31.92 kB / 291.3 MB, free: 2.727 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.001178/0.007163, allocations: 0.6201 MB / 291.9 MB, free: 2.422 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.796e-05/0.007241, allocations: 56.77 kB / 292 MB, free: 2.363 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.007245, allocations: 0 / 292 MB, free: 2.363 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.645e-05/0.007281, allocations: 36.84 kB / 292 MB, free: 2.324 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001616/0.007443, allocations: 86.66 kB / 292.1 MB, free: 2.23 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003613/0.007804, allocations: 231.4 kB / 292.3 MB, free: 1.973 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.45e-05/0.007838, allocations: 67.33 kB / 292.4 MB, free: 1.887 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.71e-05/0.007875, allocations: 24.58 kB / 292.4 MB, free: 1.863 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.005e-05/0.007926, allocations: 63.36 kB / 292.5 MB, free: 1.801 MB / 282.7 MB Notification: Performance of SimCode: time 4.71e-07/0.007926, allocations: 0 / 292.5 MB, free: 1.801 MB / 282.7 MB Notification: Performance of Templates: time 0.002645/0.01057, allocations: 1.669 MB / 294.1 MB, free: 152 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.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.629841928370297]