Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.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.001128/0.001128, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001658/0.002786, 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.001054/0.001054, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001379/0.002433, 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.9258/0.9258, allocations: 177.5 MB / 190 MB, free: 4.805 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09753/1.023, allocations: 53.87 MB / 243.9 MB, free: 14.86 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.2601/0.2601, allocations: 34.88 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02912/0.2892, allocations: 13.23 MB / 292.8 MB, free: 6.402 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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 294.2 MB, free: 5.023 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.477e-05/2.639e-05, allocations: 8.203 kB / 294.2 MB, free: 5.016 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003585/0.003612, allocations: 2.106 MB / 296.3 MB, free: 2.895 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00196/0.005571, allocations: 1.107 MB / 297.4 MB, free: 1.781 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.0057, allocations: 0 / 297.4 MB, free: 1.781 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000263/0.005963, allocations: 51.53 kB / 297.4 MB, free: 1.73 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003338/0.006297, allocations: 115.3 kB / 297.6 MB, free: 1.617 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003283/0.006625, allocations: 119.4 kB / 297.7 MB, free: 1.5 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003109/0.006936, allocations: 203.4 kB / 297.9 MB, free: 1.301 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.007046, allocations: 30.27 kB / 297.9 MB, free: 1.273 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002452/0.007291, allocations: 140.4 kB / 298 MB, free: 1.137 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.007421, allocations: 63.8 kB / 298.1 MB, free: 1.074 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.139e-05/0.007452, allocations: 15.94 kB / 298.1 MB, free: 1.059 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.007578, allocations: 55.86 kB / 298.2 MB, free: 1.004 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.158e-05/0.007649, allocations: 35.86 kB / 298.2 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.441e-05/0.007714, allocations: 27.94 kB / 298.2 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003087/0.008022, allocations: 163.3 kB / 298.4 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.257e-05/0.008035, allocations: 0 / 298.4 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.008036, allocations: 0 / 298.4 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.008048, allocations: 0 / 298.4 MB, free: 0.7812 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008408/0.008889, allocations: 496 kB / 298.9 MB, free: 268 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.008932, allocations: 12.92 kB / 298.9 MB, free: 256 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.407e-05/0.008996, allocations: 16.92 kB / 298.9 MB, free: 240 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.009276, allocations: 179.9 kB / 299.1 MB, free: 36 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.009296, allocations: 8.375 kB / 299.1 MB, free: 28 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.37e-05/0.00933, allocations: 12.38 kB / 299.1 MB, free: 16 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003186/0.009649, allocations: 158.7 kB / 299.3 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.00966, allocations: 192 / 299.3 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.009674, allocations: 384 / 299.3 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.547e-06/0.009683, allocations: 7.938 kB / 299.3 MB, free: 15.83 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.45e-05/0.009768, allocations: 26.75 kB / 299.3 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005333/0.0103, allocations: 398 kB / 299.7 MB, free: 15.39 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002646/0.01057, allocations: 111.1 kB / 299.8 MB, free: 15.27 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.605e-05/0.01062, allocations: 28.78 kB / 299.8 MB, free: 15.24 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.01064, allocations: 4 kB / 299.8 MB, free: 15.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001925/0.01084, allocations: 118.4 kB / 299.9 MB, free: 15.1 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.603e-06/0.01084, allocations: 0 / 299.9 MB, free: 15.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002524/0.01109, allocations: 93.64 kB / 300 MB, free: 15 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.01113, allocations: 51.41 kB / 300.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/0.01134, allocations: 217.1 kB / 300.3 MB, free: 14.71 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.01136, allocations: 33.7 kB / 300.3 MB, free: 14.67 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.724e-05/0.01144, allocations: 120.8 kB / 300.4 MB, free: 14.55 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.01148, allocations: 31.73 kB / 300.5 MB, free: 14.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.74e-05/0.01155, allocations: 37.69 kB / 300.5 MB, free: 14.47 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.01166, allocations: 334.8 kB / 300.8 MB, free: 14.14 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.088e-05/0.01173, allocations: 45.14 kB / 300.9 MB, free: 14.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.229e-05/0.01181, allocations: 85.91 kB / 301 MB, free: 13.98 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.01196, allocations: 117.4 kB / 301.1 MB, free: 13.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.01197, allocations: 0 / 301.1 MB, free: 13.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002374/0.0122, allocations: 173.8 kB / 301.3 MB, free: 13.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.993e-05/0.01225, allocations: 29.7 kB / 301.3 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.006e-06/0.01226, allocations: 0 / 301.3 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.01228, allocations: 4 kB / 301.3 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.01244, allocations: 39.97 kB / 301.3 MB, free: 13.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.01244, allocations: 128 / 301.3 MB, free: 13.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.01256, allocations: 23.94 kB / 301.3 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.01258, allocations: 8 kB / 301.4 MB, free: 13.55 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001065/0.01268, allocations: 132.5 kB / 301.5 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.423e-05/0.01272, allocations: 15.92 kB / 301.5 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001894/0.01291, allocations: 95.09 kB / 301.6 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.01291, allocations: 4 kB / 301.6 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.01291, allocations: 3.938 kB / 301.6 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.01292, allocations: 0 / 301.6 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.01305, allocations: 105.8 kB / 301.7 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.01306, allocations: 4 kB / 301.7 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.01318, allocations: 27.98 kB / 301.7 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.54e-05/0.0132, allocations: 19.83 kB / 301.8 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.01321, allocations: 0 / 301.8 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.01322, allocations: 0 / 301.8 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.01322, allocations: 4 kB / 301.8 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.01323, allocations: 4 kB / 301.8 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/0.01347, allocations: 138.7 kB / 301.9 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.115e-05/0.01351, allocations: 11.88 kB / 301.9 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.01361, allocations: 23.95 kB / 301.9 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.01367, allocations: 15.97 kB / 301.9 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.01369, allocations: 4 kB / 302 MB, free: 12.89 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.528e-05/0.01378, allocations: 70.23 kB / 302 MB, free: 12.82 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.01378, allocations: 0 / 302 MB, free: 12.82 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002413/0.01402, allocations: 47.88 kB / 302.1 MB, free: 12.77 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.001892/0.01592, allocations: 0.5366 MB / 302.6 MB, free: 12.53 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002423/0.01616, allocations: 163.5 kB / 302.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.297e-05/0.01617, allocations: 8 kB / 302.8 MB, free: 12.35 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.797e-05/0.01625, allocations: 36.84 kB / 302.8 MB, free: 12.31 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.0166, allocations: 363.6 kB / 303.2 MB, free: 11.89 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007551/0.01736, allocations: 307.5 kB / 303.5 MB, free: 11.56 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.42e-05/0.01741, allocations: 75.98 kB / 303.5 MB, free: 11.47 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.563e-05/0.01751, allocations: 17.48 kB / 303.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/0.01766, allocations: 87.34 kB / 303.6 MB, free: 11.36 MB / 298.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01766, allocations: 4 kB / 303.6 MB, free: 11.36 MB / 298.7 MB Notification: Performance of Templates: time 0.006696/0.02436, allocations: 3.264 MB / 306.9 MB, free: 8.145 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test14/Test14.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.052944832481444]