Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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.0009528/0.0009528, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001349/0.002301, 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.0007911/0.0007911, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001109/0.001901, 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 1.017/1.017, allocations: 177.5 MB / 190 MB, free: 4.762 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1063/1.124, allocations: 53.86 MB / 243.9 MB, free: 14.83 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.2965/0.2965, allocations: 34.88 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02993/0.3264, allocations: 13.24 MB / 292.8 MB, free: 6.363 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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 294.2 MB, free: 4.984 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.216e-05/1.336e-05, allocations: 4 kB / 294.2 MB, free: 4.98 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002137/0.002151, allocations: 1.89 MB / 296.1 MB, free: 3.074 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.003508, allocations: 1.103 MB / 297.2 MB, free: 1.965 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.903e-05/0.003597, allocations: 0 / 297.2 MB, free: 1.965 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003982/0.003995, allocations: 319 kB / 297.5 MB, free: 1.652 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003848/0.00438, allocations: 255.1 kB / 297.7 MB, free: 1.402 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002503/0.00463, allocations: 111.5 kB / 297.8 MB, free: 1.293 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002936/0.004923, allocations: 267.2 kB / 298.1 MB, free: 1.031 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.213e-05/0.004966, allocations: 6.469 kB / 298.1 MB, free: 1.027 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002284/0.005194, allocations: 225 kB / 298.3 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.005368, allocations: 175.7 kB / 298.5 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.005388, allocations: 12 kB / 298.5 MB, free: 0.625 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.036e-05/0.005479, allocations: 43.92 kB / 298.6 MB, free: 0.582 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.005579, allocations: 144 kB / 298.7 MB, free: 452 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.966e-05/0.005639, allocations: 55.69 kB / 298.8 MB, free: 396 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.005878, allocations: 271 kB / 299 MB, free: 124 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.939e-06/0.005888, allocations: 0 / 299 MB, free: 124 kB / 282.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.005888, allocations: 0 / 299 MB, free: 124 kB / 282.7 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.005898, allocations: 0 / 299 MB, free: 124 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006754/0.006573, allocations: 0.7029 MB / 299.7 MB, free: 15.39 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.006612, allocations: 8.031 kB / 299.7 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.08e-05/0.006663, allocations: 32.91 kB / 299.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/0.00695, allocations: 301.9 kB / 300.1 MB, free: 15.03 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.006972, allocations: 4.375 kB / 300.1 MB, free: 15.03 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.00699, allocations: 8.375 kB / 300.1 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.007142, allocations: 91.44 kB / 300.2 MB, free: 14.91 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.007153, allocations: 4.125 kB / 300.2 MB, free: 14.91 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.007162, allocations: 4.375 kB / 300.2 MB, free: 14.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.007172, allocations: 3.938 kB / 300.2 MB, free: 14.9 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.704e-05/0.007209, allocations: 21.62 kB / 300.2 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001692/0.007379, allocations: 126.2 kB / 300.3 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.007506, allocations: 86.8 kB / 300.4 MB, free: 14.63 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.155e-05/0.007538, allocations: 21.72 kB / 300.4 MB, free: 14.6 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.007557, allocations: 0 / 300.4 MB, free: 14.6 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001431/0.0077, allocations: 103.8 kB / 300.5 MB, free: 14.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 8.52e-07/0.007701, allocations: 0 / 300.5 MB, free: 14.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001808/0.007881, allocations: 107.3 kB / 300.6 MB, free: 14.37 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.007924, allocations: 81.05 kB / 300.7 MB, free: 14.27 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003974/0.008321, allocations: 0.6062 MB / 301.3 MB, free: 13.65 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.008341, allocations: 29.7 kB / 301.3 MB, free: 13.61 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.295e-05/0.008404, allocations: 153.3 kB / 301.5 MB, free: 13.46 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.848e-05/0.008442, allocations: 31.73 kB / 301.5 MB, free: 13.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.55e-05/0.008478, allocations: 29.69 kB / 301.5 MB, free: 13.39 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.008595, allocations: 366.7 kB / 301.9 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.071e-05/0.008616, allocations: 10.83 kB / 301.9 MB, free: 13.01 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.237e-05/0.008648, allocations: 46.53 kB / 302 MB, free: 12.96 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.139e-05/0.008709, allocations: 71.83 kB / 302 MB, free: 12.87 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.008712, allocations: 0 / 302 MB, free: 12.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001031/0.008815, allocations: 107.9 kB / 302.1 MB, free: 12.76 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.008829, allocations: 6.812 kB / 302.1 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.008833, allocations: 4 kB / 302.1 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.008846, allocations: 3.938 kB / 302.2 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.127e-05/0.008927, allocations: 23.98 kB / 302.2 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.008932, allocations: 0 / 302.2 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.34e-05/0.008985, allocations: 19.98 kB / 302.2 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.008993, allocations: 4 kB / 302.2 MB, free: 12.7 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 9.147e-05/0.009085, allocations: 128.5 kB / 302.3 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.972e-05/0.009114, allocations: 35.89 kB / 302.4 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001338/0.009248, allocations: 118 kB / 302.5 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.00925, allocations: 0 / 302.5 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.009253, allocations: 3.984 kB / 302.5 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.009258, allocations: 7.875 kB / 302.5 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.009394, allocations: 173.6 kB / 302.7 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.009395, allocations: 4 kB / 302.7 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.017e-05/0.009425, allocations: 11.98 kB / 302.7 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.04e-05/0.009475, allocations: 51.66 kB / 302.7 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.009477, allocations: 4 kB / 302.7 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-06/0.009484, allocations: 0 / 302.7 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.009485, allocations: 0 / 302.7 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.009486, allocations: 4 kB / 302.7 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/0.009592, allocations: 138.3 kB / 302.9 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.009616, allocations: 4 kB / 302.9 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.846e-05/0.009654, allocations: 4 kB / 302.9 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.852e-05/0.009683, allocations: 8.109 kB / 302.9 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.009697, allocations: 15.98 kB / 302.9 MB, free: 11.94 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002181/0.009915, allocations: 327.2 kB / 303.2 MB, free: 11.62 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.009915, allocations: 0 / 303.2 MB, free: 11.62 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000147/0.01006, allocations: 47.92 kB / 303.3 MB, free: 11.57 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001146/0.01121, allocations: 0.5477 MB / 303.8 MB, free: 11.32 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001068/0.01131, allocations: 48.78 kB / 303.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.196e-05/0.01133, allocations: 8.188 kB / 303.9 MB, free: 11.26 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.733e-05/0.01137, allocations: 44.78 kB / 303.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.01171, allocations: 396.1 kB / 304.3 MB, free: 10.76 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007783/0.01248, allocations: 0.6578 MB / 305 MB, free: 10.07 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.526e-05/0.01256, allocations: 128.2 kB / 305.1 MB, free: 9.918 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.179e-05/0.01263, allocations: 42.94 kB / 305.1 MB, free: 9.875 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.01274, allocations: 99.3 kB / 305.2 MB, free: 9.777 MB / 298.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01274, allocations: 4 kB / 305.2 MB, free: 9.773 MB / 298.7 MB Notification: Performance of Templates: time 0.006629/0.01937, allocations: 4.368 MB / 309.6 MB, free: 5.492 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.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: 3.0321149462834]