Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.001523/0.001523, allocations: 84.73 kB / 21.5 MB, free: 2.984 MB / 18.57 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.001256/0.001256, allocations: 160.2 kB / 24.91 MB, free: 8.766 MB / 18.57 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.064/1.064, allocations: 177 MB / 205.2 MB, free: 5.465 MB / 186.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.2615/0.2615, allocations: 34.87 MB / 296.6 MB, free: 0.4961 MB / 266.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 326 MB, free: 7.047 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/1.982e-05, allocations: 3.016 kB / 326 MB, free: 7.043 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002477/0.002497, allocations: 2.002 MB / 328 MB, free: 5.031 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.0038, allocations: 1.045 MB / 329.1 MB, free: 3.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.45e-05/0.003894, allocations: 3.938 kB / 329.1 MB, free: 3.977 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00028/0.004174, allocations: 43.64 kB / 329.1 MB, free: 3.934 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002485/0.004423, allocations: 99.41 kB / 329.2 MB, free: 3.836 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000159/0.004582, allocations: 95.64 kB / 329.3 MB, free: 3.742 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.004761, allocations: 152.2 kB / 329.5 MB, free: 3.594 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.932e-05/0.00486, allocations: 26.44 kB / 329.5 MB, free: 3.566 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.004963, allocations: 79.73 kB / 329.6 MB, free: 3.488 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.702e-05/0.00506, allocations: 39.89 kB / 329.6 MB, free: 3.449 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.005075, allocations: 4 kB / 329.6 MB, free: 3.445 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.884e-05/0.005154, allocations: 55.86 kB / 329.7 MB, free: 3.391 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.691e-05/0.0052, allocations: 27.86 kB / 329.7 MB, free: 3.363 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.307e-05/0.005244, allocations: 35.84 kB / 329.7 MB, free: 3.328 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.005421, allocations: 127.5 kB / 329.9 MB, free: 3.199 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.005423, allocations: 0 / 329.9 MB, free: 3.199 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.005424, allocations: 0 / 329.9 MB, free: 3.199 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.005427, allocations: 0 / 329.9 MB, free: 3.199 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000655/0.006082, allocations: 383.1 kB / 330.2 MB, free: 2.797 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.006112, allocations: 8.031 kB / 330.2 MB, free: 2.789 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.535e-05/0.006148, allocations: 16.92 kB / 330.3 MB, free: 2.773 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.006313, allocations: 166.3 kB / 330.4 MB, free: 2.582 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.006329, allocations: 8.375 kB / 330.4 MB, free: 2.574 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.006348, allocations: 8.328 kB / 330.4 MB, free: 2.566 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.006492, allocations: 140.3 kB / 330.6 MB, free: 2.406 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-06/0.0065, allocations: 192 / 330.6 MB, free: 2.406 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.006508, allocations: 384 / 330.6 MB, free: 2.406 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.006514, allocations: 7.938 kB / 330.6 MB, free: 2.398 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.633e-05/0.00655, allocations: 22.75 kB / 330.6 MB, free: 2.375 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003053/0.006855, allocations: 374.1 kB / 331 MB, free: 1.984 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.007007, allocations: 109.2 kB / 331.1 MB, free: 1.867 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.407e-05/0.007031, allocations: 20.8 kB / 331.1 MB, free: 1.844 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.007041, allocations: 0 / 331.1 MB, free: 1.844 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001/0.007141, allocations: 99.89 kB / 331.2 MB, free: 1.727 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.052e-06/0.007142, allocations: 3.938 kB / 331.2 MB, free: 1.723 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001212/0.007264, allocations: 73.59 kB / 331.3 MB, free: 1.645 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/0.007286, allocations: 59.41 kB / 331.3 MB, free: 1.574 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.007392, allocations: 185.6 kB / 331.5 MB, free: 1.379 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.007411, allocations: 25.7 kB / 331.5 MB, free: 1.348 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.37e-05/0.007464, allocations: 115.9 kB / 331.6 MB, free: 1.23 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.66e-05/0.007481, allocations: 23.83 kB / 331.7 MB, free: 1.207 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/0.007513, allocations: 29.72 kB / 331.7 MB, free: 1.172 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.577e-05/0.007589, allocations: 326.8 kB / 332 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.871e-05/0.007607, allocations: 14.81 kB / 332 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.887e-05/0.007646, allocations: 48.2 kB / 332.1 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.369e-05/0.00771, allocations: 74.61 kB / 332.2 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.007713, allocations: 0 / 332.2 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.661e-05/0.007809, allocations: 98.91 kB / 332.3 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.00782, allocations: 4 kB / 332.3 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.007824, allocations: 0 / 332.3 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.007837, allocations: 4 kB / 332.3 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.213e-05/0.007899, allocations: 24.05 kB / 332.3 MB, free: 0.543 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.878e-06/0.007903, allocations: 8 kB / 332.3 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.465e-05/0.007938, allocations: 19.88 kB / 332.3 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.007944, allocations: 4 kB / 332.3 MB, free: 0.5117 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: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 5.908e-05/0.008003, allocations: 116.7 kB / 332.4 MB, free: 396 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.367e-05/0.008017, allocations: 15.92 kB / 332.4 MB, free: 380 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.202e-05/0.008109, allocations: 75.08 kB / 332.5 MB, free: 296 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.008113, allocations: 7.984 kB / 332.5 MB, free: 288 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.008115, allocations: 0 / 332.5 MB, free: 288 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.008118, allocations: 0 / 332.5 MB, free: 288 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.628e-05/0.008194, allocations: 105.8 kB / 332.6 MB, free: 164 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.008195, allocations: 0 / 332.6 MB, free: 164 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.223e-05/0.008237, allocations: 11.98 kB / 332.6 MB, free: 152 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.008243, allocations: 7.938 kB / 332.6 MB, free: 144 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.00825, allocations: 0 / 332.6 MB, free: 144 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.00825, allocations: 3.938 kB / 332.7 MB, free: 140 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.008251, allocations: 0 / 332.7 MB, free: 140 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.008362, allocations: 119.5 kB / 332.8 MB, free: 0 / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.481e-05/0.008386, allocations: 15.89 kB / 332.8 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.008402, allocations: 11.88 kB / 332.8 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.37e-05/0.008426, allocations: 7.969 kB / 332.8 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.77e-05/0.008453, allocations: 11.98 kB / 332.8 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.008464, allocations: 4 kB / 332.8 MB, free: 15.95 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.326e-05/0.008507, allocations: 52.53 kB / 332.9 MB, free: 15.89 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008507, allocations: 0 / 332.9 MB, free: 15.89 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001298/0.008637, allocations: 24 kB / 332.9 MB, free: 15.87 MB / 314.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: 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 (10): * Single equations (assignments): 8 * 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.001053/0.00969, allocations: 0.4935 MB / 333.4 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.776e-05/0.009777, allocations: 48.95 kB / 333.4 MB, free: 15.57 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.00978, allocations: 8 kB / 333.4 MB, free: 15.56 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.407e-05/0.009814, allocations: 28.84 kB / 333.5 MB, free: 15.53 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001381/0.009952, allocations: 40.55 kB / 333.5 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005818/0.01053, allocations: 249.8 kB / 333.8 MB, free: 15.23 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.583e-05/0.01057, allocations: 75.77 kB / 333.8 MB, free: 15.13 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.076e-05/0.01061, allocations: 21.48 kB / 333.8 MB, free: 15.11 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.521e-05/0.01069, allocations: 75.36 kB / 333.9 MB, free: 15.04 MB / 314.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01069, allocations: 0 / 333.9 MB, free: 15.04 MB / 314.7 MB Notification: Performance of Templates: time 0.003764/0.01445, allocations: 2.192 MB / 336.1 MB, free: 12.88 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.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: 3.0253241071477532]