Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.001101/0.001101, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002197/0.003298, allocations: 449.7 kB / 10.37 MB, free: 324 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.001213/0.001213, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001681/0.002894, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.032/1.032, allocations: 177.4 MB / 189.9 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09513/1.127, allocations: 53.87 MB / 243.8 MB, free: 14.91 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.2881/0.2881, allocations: 34.85 MB / 279.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03124/0.3193, allocations: 13.23 MB / 292.6 MB, free: 6.484 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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.165e-06/2.165e-06, allocations: 0 / 294 MB, free: 5.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.693e-05/2.91e-05, allocations: 4.281 kB / 294 MB, free: 5.105 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.00238/0.002409, allocations: 1.973 MB / 295.9 MB, free: 3.117 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.003904, allocations: 1.123 MB / 297.1 MB, free: 1.988 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.00401, allocations: 7.938 kB / 297.1 MB, free: 1.98 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003609/0.004371, allocations: 303 kB / 297.4 MB, free: 1.684 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003408/0.004712, allocations: 247.1 kB / 297.6 MB, free: 1.441 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002016/0.004913, allocations: 127.5 kB / 297.7 MB, free: 1.316 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000266/0.005179, allocations: 263.2 kB / 298 MB, free: 1.059 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.005288, allocations: 26.61 kB / 298 MB, free: 1.035 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002359/0.005523, allocations: 216.2 kB / 298.2 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/0.005703, allocations: 151.6 kB / 298.4 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.005725, allocations: 12 kB / 298.4 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.005835, allocations: 59.91 kB / 298.4 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.874e-05/0.005924, allocations: 59.8 kB / 298.5 MB, free: 0.543 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.443e-05/0.005978, allocations: 39.81 kB / 298.5 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002505/0.006229, allocations: 207.1 kB / 298.7 MB, free: 308 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.745e-05/0.006246, allocations: 4 kB / 298.7 MB, free: 304 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.006247, allocations: 0 / 298.7 MB, free: 304 kB / 282.7 MB Notification: Performance of Transformations before backend: time 1.75e-05/0.006265, allocations: 0 / 298.7 MB, free: 304 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005807/0.006846, allocations: 0.5231 MB / 299.3 MB, free: 15.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.006882, allocations: 12.03 kB / 299.3 MB, free: 15.74 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.94e-05/0.006921, allocations: 16.92 kB / 299.3 MB, free: 15.72 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.00712, allocations: 232 kB / 299.5 MB, free: 15.47 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.007139, allocations: 12.36 kB / 299.5 MB, free: 15.46 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.832e-05/0.007158, allocations: 4.375 kB / 299.5 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.007302, allocations: 110 kB / 299.6 MB, free: 15.33 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.007313, allocations: 192 / 299.6 MB, free: 15.33 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.007322, allocations: 4.375 kB / 299.7 MB, free: 15.33 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.007329, allocations: 3.938 kB / 299.7 MB, free: 15.32 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.542e-05/0.007375, allocations: 37.56 kB / 299.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002795/0.007654, allocations: 300.8 kB / 300 MB, free: 14.97 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.007864, allocations: 186.7 kB / 300.2 MB, free: 14.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.675e-05/0.007901, allocations: 33.94 kB / 300.2 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.007912, allocations: 4 kB / 300.2 MB, free: 14.72 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001366/0.008049, allocations: 116.8 kB / 300.3 MB, free: 14.59 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.012e-06/0.00805, allocations: 0 / 300.3 MB, free: 14.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006412/0.008691, allocations: 317.6 kB / 300.6 MB, free: 14.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/0.00874, allocations: 85.11 kB / 300.7 MB, free: 14.17 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002463/0.008986, allocations: 361 kB / 301.1 MB, free: 13.8 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.009007, allocations: 29.7 kB / 301.1 MB, free: 13.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.583e-05/0.009063, allocations: 125.5 kB / 301.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.092e-05/0.009124, allocations: 79.39 kB / 301.3 MB, free: 13.56 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.9e-05/0.009173, allocations: 37.69 kB / 301.3 MB, free: 13.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.009279, allocations: 354.7 kB / 301.7 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.18e-05/0.009311, allocations: 22.83 kB / 301.7 MB, free: 13.14 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.828e-05/0.009359, allocations: 55.39 kB / 301.8 MB, free: 13.07 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.019e-05/0.00945, allocations: 103.2 kB / 301.9 MB, free: 12.96 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.009451, allocations: 0 / 301.9 MB, free: 12.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001365/0.009587, allocations: 140.7 kB / 302 MB, free: 12.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.009602, allocations: 8 kB / 302 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.009608, allocations: 3.938 kB / 302 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.009618, allocations: 3.984 kB / 302 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.862e-05/0.009717, allocations: 43.98 kB / 302.1 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.009722, allocations: 4 kB / 302.1 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.039e-05/0.009772, allocations: 15.94 kB / 302.1 MB, free: 12.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.00978, allocations: 4 kB / 302.1 MB, free: 12.73 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 8.918e-05/0.009869, allocations: 128.5 kB / 302.2 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/0.009896, allocations: 32.03 kB / 302.2 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001837/0.01008, allocations: 167.2 kB / 302.4 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.01008, allocations: 0 / 302.4 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.01009, allocations: 4 kB / 302.4 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.01009, allocations: 0 / 302.4 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004154/0.0105, allocations: 0.5603 MB / 303 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.01051, allocations: 0 / 303 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.694e-05/0.01057, allocations: 43.92 kB / 303 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.719e-05/0.0106, allocations: 35.88 kB / 303 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.01061, allocations: 7.938 kB / 303 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.01062, allocations: 8 kB / 303.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.01062, allocations: 0 / 303.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.01063, allocations: 7.938 kB / 303.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002296/0.01085, allocations: 409.4 kB / 303.5 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.01088, allocations: 11.94 kB / 303.5 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.32e-05/0.01095, allocations: 11.92 kB / 303.5 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/0.011, allocations: 23.91 kB / 303.5 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.01102, allocations: 12 kB / 303.5 MB, free: 11.21 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001124/0.01113, allocations: 163.5 kB / 303.7 MB, free: 11.05 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01113, allocations: 0 / 303.7 MB, free: 11.05 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000199/0.01133, allocations: 47.94 kB / 303.7 MB, free: 11 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * 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.001628/0.01296, allocations: 0.723 MB / 304.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001371/0.01309, allocations: 92.92 kB / 304.5 MB, free: 10.55 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/0.0131, allocations: 8.125 kB / 304.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.464e-05/0.01316, allocations: 60.69 kB / 304.6 MB, free: 10.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.01346, allocations: 95.41 kB / 304.7 MB, free: 10.39 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007183/0.01417, allocations: 0.5195 MB / 305.2 MB, free: 9.82 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.49e-05/0.01424, allocations: 108.1 kB / 305.3 MB, free: 9.695 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.716e-05/0.01431, allocations: 33.92 kB / 305.4 MB, free: 9.664 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.978e-05/0.01441, allocations: 95.34 kB / 305.5 MB, free: 9.57 MB / 298.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01441, allocations: 0 / 305.5 MB, free: 9.57 MB / 298.7 MB Notification: Performance of Templates: time 0.005548/0.01995, allocations: 3.718 MB / 309.2 MB, free: 5.914 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.981665034778416]