Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008125/0.0008125, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00106/0.001873, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0006662/0.0006662, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008866/0.001553, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9657/0.9657, allocations: 177.5 MB / 190 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1057/1.071, allocations: 53.87 MB / 243.9 MB, free: 14.85 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2873/0.2873, allocations: 34.88 MB / 279.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02566/0.3129, allocations: 13.24 MB / 292.8 MB, free: 6.379 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 294.2 MB, free: 4.992 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.736e-05/1.881e-05, allocations: 4.844 kB / 294.2 MB, free: 4.988 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.002927/0.002945, allocations: 1.809 MB / 296 MB, free: 3.16 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004362/0.007307, allocations: 1.777 MB / 297.8 MB, free: 1.375 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.943e-05/0.007386, allocations: 0 / 297.8 MB, free: 1.375 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000198/0.007584, allocations: 39.7 kB / 297.8 MB, free: 1.336 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003093/0.007894, allocations: 109.4 kB / 297.9 MB, free: 1.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.008107, allocations: 79.55 kB / 298 MB, free: 1.152 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003208/0.01131, allocations: 111.6 kB / 298.1 MB, free: 1.043 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.487e-05/0.0114, allocations: 11.94 kB / 298.1 MB, free: 1.031 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/0.01156, allocations: 79.86 kB / 298.2 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.01168, allocations: 31.84 kB / 298.2 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.0117, allocations: 8 kB / 298.2 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002223/0.01192, allocations: 111.8 kB / 298.3 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.01e-05/0.01197, allocations: 15.94 kB / 298.4 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.313e-05/0.012, allocations: 15.94 kB / 298.4 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002621/0.01226, allocations: 151.5 kB / 298.5 MB, free: 0.625 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.051e-05/0.01227, allocations: 0 / 298.5 MB, free: 0.625 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.01227, allocations: 0 / 298.5 MB, free: 0.625 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.01228, allocations: 0 / 298.5 MB, free: 0.625 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000506/0.01279, allocations: 352.9 kB / 298.9 MB, free: 264 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.01282, allocations: 8.922 kB / 298.9 MB, free: 256 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.634e-05/0.01287, allocations: 12.92 kB / 298.9 MB, free: 244 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.01307, allocations: 146.2 kB / 299 MB, free: 72 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.01309, allocations: 4.375 kB / 299 MB, free: 68 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.01311, allocations: 384 / 299 MB, free: 68 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.01327, allocations: 109.1 kB / 299.1 MB, free: 15.94 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.01328, allocations: 3.938 kB / 299.2 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.01329, allocations: 4 kB / 299.2 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.0133, allocations: 0 / 299.2 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.003e-05/0.01333, allocations: 6.828 kB / 299.2 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002338/0.01356, allocations: 174 kB / 299.3 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.01367, allocations: 93.22 kB / 299.4 MB, free: 15.63 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.365e-05/0.01369, allocations: 8.859 kB / 299.4 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.0137, allocations: 4 kB / 299.4 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001079/0.01381, allocations: 70.05 kB / 299.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.944e-06/0.01381, allocations: 0 / 299.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.00338/0.01719, allocations: 117.6 kB / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.01722, allocations: 51.41 kB / 299.7 MB, free: 15.35 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.01736, allocations: 160.3 kB / 299.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.01738, allocations: 25.7 kB / 299.9 MB, free: 15.15 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.933e-05/0.01742, allocations: 100.1 kB / 299.9 MB, free: 15.05 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.255e-05/0.01745, allocations: 27.75 kB / 300 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.0175, allocations: 25.69 kB / 300 MB, free: 14.99 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.93e-05/0.01759, allocations: 318.8 kB / 300.3 MB, free: 14.67 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.687e-05/0.01761, allocations: 14.81 kB / 300.3 MB, free: 14.65 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.794e-05/0.01766, allocations: 57.14 kB / 300.4 MB, free: 14.58 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.808e-05/0.01772, allocations: 40.52 kB / 300.4 MB, free: 14.54 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.01772, allocations: 0 / 300.4 MB, free: 14.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000108/0.01783, allocations: 84.42 kB / 300.5 MB, free: 14.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.01784, allocations: 8.062 kB / 300.5 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.01785, allocations: 4 kB / 300.5 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.01786, allocations: 0 / 300.5 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.731e-05/0.01795, allocations: 16.36 kB / 300.5 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.01795, allocations: 4 kB / 300.5 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.382e-05/0.01799, allocations: 4 kB / 300.5 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.018, allocations: 4 kB / 300.5 MB, free: 14.41 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.795e-05/0.01808, allocations: 124.6 kB / 300.7 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.22e-05/0.0181, allocations: 11.92 kB / 300.7 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.01823, allocations: 70.45 kB / 300.7 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.01824, allocations: 8 kB / 300.8 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.01824, allocations: 3.938 kB / 300.8 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.01824, allocations: 3.984 kB / 300.8 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000287/0.01853, allocations: 283.5 kB / 301 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.01853, allocations: 3.938 kB / 301 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.487e-05/0.01858, allocations: 12 kB / 301.1 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.863e-05/0.01859, allocations: 11.94 kB / 301.1 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.0186, allocations: 0 / 301.1 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-06/0.01861, allocations: 0 / 301.1 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.01861, allocations: 4 kB / 301.1 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.01861, allocations: 4.031 kB / 301.1 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001504/0.01876, allocations: 226.6 kB / 301.3 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.01878, allocations: 7.984 kB / 301.3 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.282e-05/0.01886, allocations: 0 / 301.3 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.958e-05/0.01889, allocations: 7.984 kB / 301.3 MB, free: 13.58 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.0189, allocations: 8 kB / 301.3 MB, free: 13.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.392e-05/0.01897, allocations: 37.28 kB / 301.4 MB, free: 13.53 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01897, allocations: 0 / 301.4 MB, free: 13.53 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002764/0.01924, allocations: 55.8 kB / 301.4 MB, free: 13.48 MB / 298.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.005175/0.02442, allocations: 0.7635 MB / 302.2 MB, free: 13.09 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001178/0.02453, allocations: 44.7 kB / 302.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/0.02455, allocations: 4 kB / 302.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.368e-05/0.0246, allocations: 28.94 kB / 302.2 MB, free: 13.01 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.02491, allocations: 181.9 kB / 302.4 MB, free: 12.8 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000503/0.02542, allocations: 211.9 kB / 302.6 MB, free: 12.56 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.227e-05/0.02546, allocations: 63.34 kB / 302.7 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.894e-05/0.02552, allocations: 17.42 kB / 302.7 MB, free: 12.46 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.02562, allocations: 75.36 kB / 302.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of SimCode: time 5.62e-07/0.02562, allocations: 4.094 kB / 302.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of Templates: time 0.01167/0.03729, allocations: 2.813 MB / 305.6 MB, free: 9.609 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.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.970355086028576]