Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.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.0008355/0.0008355, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001093/0.001928, 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.0006902/0.0006902, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009102/0.0016, 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.057/1.057, allocations: 177.5 MB / 190 MB, free: 4.805 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09735/1.155, allocations: 53.87 MB / 243.9 MB, free: 14.87 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.2891/0.2891, allocations: 34.88 MB / 279.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02948/0.3186, allocations: 13.24 MB / 292.8 MB, free: 6.398 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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 294.2 MB, free: 5.027 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.812e-05/1.947e-05, allocations: 2.312 kB / 294.2 MB, free: 5.023 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.00289/0.002909, allocations: 1.774 MB / 295.9 MB, free: 3.234 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007588/0.0105, allocations: 1.005 MB / 297 MB, free: 2.223 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.599e-05/0.01057, allocations: 0 / 297 MB, free: 2.223 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002864/0.01086, allocations: 91.58 kB / 297 MB, free: 2.133 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002952/0.01116, allocations: 119.4 kB / 297.2 MB, free: 2.016 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000193/0.01135, allocations: 75.56 kB / 297.2 MB, free: 1.941 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002116/0.01156, allocations: 111.7 kB / 297.3 MB, free: 1.832 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.618e-05/0.01161, allocations: 4.234 kB / 297.3 MB, free: 1.828 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.01178, allocations: 95.67 kB / 297.4 MB, free: 1.734 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.01189, allocations: 43.89 kB / 297.5 MB, free: 1.691 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.01191, allocations: 4 kB / 297.5 MB, free: 1.688 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.51e-05/0.012, allocations: 31.98 kB / 297.5 MB, free: 1.656 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.21e-05/0.01205, allocations: 15.94 kB / 297.5 MB, free: 1.641 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.372e-05/0.01208, allocations: 19.94 kB / 297.6 MB, free: 1.621 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003237/0.01532, allocations: 99.53 kB / 297.7 MB, free: 1.523 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-05/0.01534, allocations: 0 / 297.7 MB, free: 1.523 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.01534, allocations: 0 / 297.7 MB, free: 1.523 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.01535, allocations: 0 / 297.7 MB, free: 1.523 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005896/0.01594, allocations: 337 kB / 298 MB, free: 1.172 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.01598, allocations: 8.922 kB / 298 MB, free: 1.164 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.598e-05/0.01603, allocations: 8.922 kB / 298 MB, free: 1.156 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.01624, allocations: 153.5 kB / 298.1 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.01626, allocations: 4.375 kB / 298.2 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.01627, allocations: 8.375 kB / 298.2 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.01639, allocations: 57.77 kB / 298.2 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.01639, allocations: 4.125 kB / 298.2 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.582e-06/0.0164, allocations: 384 / 298.2 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.01641, allocations: 11.86 kB / 298.2 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.3e-05/0.01643, allocations: 4 kB / 298.2 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000101/0.01653, allocations: 74.69 kB / 298.3 MB, free: 0.793 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.855e-05/0.01662, allocations: 33.44 kB / 298.3 MB, free: 0.75 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.43e-05/0.01665, allocations: 16.86 kB / 298.4 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.01666, allocations: 4 kB / 298.4 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001099/0.01677, allocations: 62.14 kB / 298.4 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.01677, allocations: 0 / 298.4 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001493/0.01692, allocations: 61.67 kB / 298.5 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.01695, allocations: 51.41 kB / 298.5 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.01711, allocations: 193 kB / 298.7 MB, free: 324 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.01713, allocations: 25.7 kB / 298.7 MB, free: 292 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.649e-05/0.01716, allocations: 96.11 kB / 298.8 MB, free: 192 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/0.0172, allocations: 11.91 kB / 298.9 MB, free: 180 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/0.01723, allocations: 25.7 kB / 298.9 MB, free: 148 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.01736, allocations: 326.8 kB / 299.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.615e-05/0.01739, allocations: 10.81 kB / 299.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.779e-05/0.01742, allocations: 21.66 kB / 299.2 MB, free: 15.78 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.452e-05/0.01747, allocations: 31.36 kB / 299.3 MB, free: 15.74 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.01748, allocations: 4 kB / 299.3 MB, free: 15.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.155e-05/0.01757, allocations: 60.44 kB / 299.3 MB, free: 15.67 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.01758, allocations: 4 kB / 299.3 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.01759, allocations: 0 / 299.3 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.0176, allocations: 4.031 kB / 299.3 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.276e-05/0.01769, allocations: 12 kB / 299.3 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.446e-06/0.01769, allocations: 0 / 299.3 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.634e-05/0.01774, allocations: 16.23 kB / 299.4 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/0.01774, allocations: 0 / 299.4 MB, free: 15.63 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 (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 9.537e-05/0.01784, allocations: 114.9 kB / 299.5 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.681e-05/0.01785, allocations: 11.92 kB / 299.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/0.01797, allocations: 74.77 kB / 299.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.01798, allocations: 0 / 299.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.01798, allocations: 0 / 299.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.01798, allocations: 7.938 kB / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003137/0.02112, allocations: 85.86 kB / 299.6 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.02112, allocations: 0 / 299.6 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.799e-05/0.02116, allocations: 7.938 kB / 299.7 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.25e-05/0.02118, allocations: 15.89 kB / 299.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.02119, allocations: 0 / 299.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.02119, allocations: 0 / 299.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.0212, allocations: 4 kB / 299.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.0212, allocations: 0 / 299.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001053/0.0213, allocations: 94.62 kB / 299.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.02132, allocations: 0 / 299.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.253e-05/0.02135, allocations: 8 kB / 299.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.118e-05/0.02139, allocations: 7.984 kB / 299.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.0214, allocations: 4 kB / 299.8 MB, free: 15.15 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.371e-05/0.02147, allocations: 61.55 kB / 299.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02147, allocations: 0 / 299.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001895/0.02166, allocations: 12 kB / 299.9 MB, free: 15.08 MB / 298.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: 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 (6): * Single equations (assignments): 4 * 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.001716/0.02338, allocations: 0.5494 MB / 300.4 MB, free: 14.82 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001061/0.02348, allocations: 40.72 kB / 300.4 MB, free: 14.78 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/0.02349, allocations: 4 kB / 300.5 MB, free: 14.78 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.568e-05/0.02354, allocations: 28.97 kB / 300.5 MB, free: 14.75 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.02378, allocations: 172.7 kB / 300.6 MB, free: 14.55 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003611/0.02739, allocations: 209.7 kB / 300.9 MB, free: 14.31 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.913e-05/0.02744, allocations: 71.33 kB / 300.9 MB, free: 14.22 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.742e-05/0.02749, allocations: 8.5 kB / 300.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.649e-05/0.02757, allocations: 67.45 kB / 301 MB, free: 14.15 MB / 298.7 MB Notification: Performance of SimCode: time 1.032e-06/0.02757, allocations: 4 kB / 301 MB, free: 14.14 MB / 298.7 MB Notification: Performance of Templates: time 0.007459/0.03503, allocations: 1.808 MB / 302.8 MB, free: 12.36 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.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.9036497566848993]