Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.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.0007803/0.0007803, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001136/0.001916, 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.0007135/0.0007135, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009427/0.001656, 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.9822/0.9822, allocations: 177.5 MB / 190 MB, free: 4.785 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1064/1.089, allocations: 53.87 MB / 243.9 MB, free: 14.84 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.3173/0.3173, allocations: 34.88 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02748/0.3448, allocations: 13.23 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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 294.2 MB, free: 5.008 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.621e-05/1.775e-05, allocations: 6.188 kB / 294.2 MB, free: 5.004 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002736/0.002754, allocations: 1.815 MB / 296 MB, free: 3.172 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.004255, allocations: 1.021 MB / 297 MB, free: 2.145 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.366e-05/0.004328, allocations: 7.938 kB / 297 MB, free: 2.137 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002036/0.004532, allocations: 47.69 kB / 297.1 MB, free: 2.09 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002355/0.004767, allocations: 95.42 kB / 297.2 MB, free: 1.996 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001904/0.004958, allocations: 83.55 kB / 297.3 MB, free: 1.914 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.005137, allocations: 107.6 kB / 297.4 MB, free: 1.809 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.447e-05/0.005222, allocations: 7.984 kB / 297.4 MB, free: 1.801 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.005365, allocations: 83.81 kB / 297.5 MB, free: 1.719 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.983e-05/0.005445, allocations: 23.91 kB / 297.5 MB, free: 1.695 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.005461, allocations: 4 kB / 297.5 MB, free: 1.691 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.307e-05/0.005554, allocations: 47.86 kB / 297.5 MB, free: 1.645 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.163e-05/0.005606, allocations: 27.88 kB / 297.6 MB, free: 1.617 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.441e-05/0.00564, allocations: 15.94 kB / 297.6 MB, free: 1.602 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.005821, allocations: 103.5 kB / 297.7 MB, free: 1.5 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.066e-05/0.005832, allocations: 0 / 297.7 MB, free: 1.5 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.005833, allocations: 0 / 297.7 MB, free: 1.5 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.005843, allocations: 4 kB / 297.7 MB, free: 1.496 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.0004453/0.006288, allocations: 356.9 kB / 298 MB, free: 1.125 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.717e-05/0.006315, allocations: 8.922 kB / 298 MB, free: 1.117 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.969e-05/0.006345, allocations: 8.938 kB / 298 MB, free: 1.109 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.006479, allocations: 158.3 kB / 298.2 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.006494, allocations: 4.375 kB / 298.2 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.006511, allocations: 4.375 kB / 298.2 MB, free: 0.918 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.199e-05/0.006603, allocations: 61.77 kB / 298.3 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.006611, allocations: 192 / 298.3 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-06/0.006617, allocations: 384 / 298.3 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.006622, allocations: 7.938 kB / 298.3 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.492e-05/0.006647, allocations: 15.92 kB / 298.3 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001891/0.006836, allocations: 173.9 kB / 298.5 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.46e-05/0.006921, allocations: 81.3 kB / 298.5 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.848e-05/0.00694, allocations: 12.84 kB / 298.6 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.397e-06/0.006949, allocations: 0 / 298.6 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.005e-05/0.007039, allocations: 70.14 kB / 298.6 MB, free: 460 kB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.00704, allocations: 3.938 kB / 298.6 MB, free: 456 kB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002923/0.007332, allocations: 117.5 kB / 298.7 MB, free: 332 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.007359, allocations: 55.41 kB / 298.8 MB, free: 264 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.007471, allocations: 196.1 kB / 299 MB, free: 52 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.007485, allocations: 25.7 kB / 299 MB, free: 20 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.456e-05/0.007529, allocations: 100.1 kB / 299.1 MB, free: 15.92 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.007557, allocations: 31.73 kB / 299.1 MB, free: 15.89 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.706e-05/0.007584, allocations: 21.7 kB / 299.2 MB, free: 15.86 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.574e-05/0.007659, allocations: 326.8 kB / 299.5 MB, free: 15.53 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.381e-05/0.007673, allocations: 10.83 kB / 299.5 MB, free: 15.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.291e-05/0.007696, allocations: 21.7 kB / 299.5 MB, free: 15.49 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.743e-05/0.007733, allocations: 48.45 kB / 299.6 MB, free: 15.44 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.007734, allocations: 0 / 299.6 MB, free: 15.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.578e-05/0.0078, allocations: 68.56 kB / 299.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.007812, allocations: 11.94 kB / 299.6 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.945e-06/0.007814, allocations: 0 / 299.6 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.007826, allocations: 7.969 kB / 299.6 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.009e-05/0.007886, allocations: 23.94 kB / 299.7 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.846e-06/0.007889, allocations: 0 / 299.7 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.445e-05/0.007914, allocations: 384 / 299.7 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.007919, allocations: 12.02 kB / 299.7 MB, free: 15.31 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 5.68e-05/0.007976, allocations: 116.7 kB / 299.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.075e-05/0.007986, allocations: 11.92 kB / 299.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.63e-05/0.008083, allocations: 80.3 kB / 299.9 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.008085, allocations: 4 kB / 299.9 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.82e-07/0.008086, allocations: 0 / 299.9 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.008089, allocations: 0 / 299.9 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.008271, allocations: 291.5 kB / 300.2 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.008274, allocations: 7.938 kB / 300.2 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.421e-05/0.008298, allocations: 8 kB / 300.2 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.148e-05/0.00831, allocations: 15.94 kB / 300.2 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/0.008315, allocations: 0 / 300.2 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.008323, allocations: 11.98 kB / 300.2 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.008324, allocations: 0 / 300.2 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.008324, allocations: 0 / 300.2 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.296e-05/0.008417, allocations: 219 kB / 300.4 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.008432, allocations: 7.938 kB / 300.4 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.802e-05/0.00847, allocations: 7.984 kB / 300.4 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.06e-05/0.008491, allocations: 0 / 300.4 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.008502, allocations: 7.984 kB / 300.5 MB, free: 14.47 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.536e-05/0.008547, allocations: 69.66 kB / 300.5 MB, free: 14.4 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008547, allocations: 0 / 300.5 MB, free: 14.4 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001361/0.008683, allocations: 23.94 kB / 300.5 MB, free: 14.38 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.001262/0.009945, allocations: 0.6232 MB / 301.2 MB, free: 14.09 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.727e-05/0.01003, allocations: 40.83 kB / 301.2 MB, free: 14.05 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.01004, allocations: 0 / 301.2 MB, free: 14.05 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.744e-05/0.01008, allocations: 40.95 kB / 301.2 MB, free: 14 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.0103, allocations: 180.4 kB / 301.4 MB, free: 13.8 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004123/0.01071, allocations: 242.6 kB / 301.7 MB, free: 13.53 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.886e-05/0.01075, allocations: 71.52 kB / 301.7 MB, free: 13.44 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.153e-05/0.01078, allocations: 16.97 kB / 301.7 MB, free: 13.42 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.054e-05/0.01084, allocations: 71.36 kB / 301.8 MB, free: 13.35 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01084, allocations: 0 / 301.8 MB, free: 13.35 MB / 298.7 MB Notification: Performance of Templates: time 0.003244/0.01409, allocations: 2.061 MB / 303.9 MB, free: 11.32 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.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.9475415283814073]