Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.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.001065/0.001065, allocations: 84.25 kB / 22.22 MB, free: 2.281 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.001125/0.001125, allocations: 168.4 kB / 25.61 MB, free: 8.879 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 0.9764/0.9764, allocations: 177 MB / 205.9 MB, free: 4.449 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.1579/0.1579, allocations: 34.88 MB / 297.4 MB, free: 13.19 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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 380.1 MB, free: 22.62 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.172e-05/2.314e-05, allocations: 2.312 kB / 380.1 MB, free: 22.61 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002151/0.002174, allocations: 1.75 MB / 381.8 MB, free: 20.86 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.003469, allocations: 0.9969 MB / 382.8 MB, free: 19.85 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.677e-05/0.003556, allocations: 4 kB / 382.9 MB, free: 19.85 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002808/0.003837, allocations: 35.77 kB / 382.9 MB, free: 19.81 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002725/0.004109, allocations: 107.4 kB / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002052/0.004315, allocations: 79.66 kB / 383.1 MB, free: 19.63 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.00445, allocations: 107.6 kB / 383.2 MB, free: 19.52 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.157e-05/0.004531, allocations: 8 kB / 383.2 MB, free: 19.52 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.187e-05/0.004603, allocations: 51.89 kB / 383.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.764e-05/0.004671, allocations: 35.84 kB / 383.3 MB, free: 19.43 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.004686, allocations: 4 kB / 383.3 MB, free: 19.43 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.32e-05/0.004759, allocations: 51.84 kB / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.389e-05/0.004803, allocations: 19.92 kB / 383.3 MB, free: 19.36 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.863e-05/0.004831, allocations: 15.94 kB / 383.4 MB, free: 19.34 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.004985, allocations: 107.6 kB / 383.5 MB, free: 19.23 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.004987, allocations: 0 / 383.5 MB, free: 19.23 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.004987, allocations: 0 / 383.5 MB, free: 19.23 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.848e-06/0.004991, allocations: 0 / 383.5 MB, free: 19.23 MB / 314.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.0003396/0.005331, allocations: 451.8 kB / 383.9 MB, free: 18.76 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.005363, allocations: 8.031 kB / 383.9 MB, free: 18.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.423e-05/0.005397, allocations: 20.84 kB / 383.9 MB, free: 18.73 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.005517, allocations: 157.3 kB / 384.1 MB, free: 18.55 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.005534, allocations: 4.375 kB / 384.1 MB, free: 18.55 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.00555, allocations: 4.375 kB / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.173e-05/0.005642, allocations: 54.94 kB / 384.1 MB, free: 18.48 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.005653, allocations: 4.188 kB / 384.2 MB, free: 18.48 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-06/0.005661, allocations: 4.375 kB / 384.2 MB, free: 18.47 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.005667, allocations: 3.938 kB / 384.2 MB, free: 18.47 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.558e-05/0.005692, allocations: 11.98 kB / 384.2 MB, free: 18.46 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002287/0.005921, allocations: 256.4 kB / 384.4 MB, free: 18.18 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.543e-05/0.006016, allocations: 51.17 kB / 384.5 MB, free: 18.12 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.534e-05/0.006042, allocations: 19.67 kB / 384.5 MB, free: 18.09 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.006057, allocations: 0 / 384.5 MB, free: 18.09 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001018/0.006158, allocations: 69.03 kB / 384.6 MB, free: 18.01 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.006159, allocations: 0 / 384.6 MB, free: 18.01 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003762/0.006536, allocations: 137.4 kB / 384.7 MB, free: 17.87 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.006565, allocations: 55.34 kB / 384.7 MB, free: 17.8 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.006684, allocations: 249.6 kB / 385 MB, free: 17.54 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.006696, allocations: 33.7 kB / 385 MB, free: 17.5 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.715e-05/0.006743, allocations: 150.8 kB / 385.2 MB, free: 17.35 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.006771, allocations: 27.83 kB / 385.2 MB, free: 17.32 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.863e-05/0.00681, allocations: 27.38 kB / 385.2 MB, free: 17.29 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.375e-05/0.006894, allocations: 0.4962 MB / 385.7 MB, free: 16.78 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.597e-05/0.00691, allocations: 11.98 kB / 385.7 MB, free: 16.77 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.717e-05/0.006937, allocations: 27.38 kB / 385.8 MB, free: 16.73 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.611e-05/0.006983, allocations: 51.34 kB / 385.8 MB, free: 16.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.006984, allocations: 0 / 385.8 MB, free: 16.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.806e-05/0.007072, allocations: 93.53 kB / 385.9 MB, free: 16.58 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.007083, allocations: 4 kB / 385.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.007088, allocations: 384 / 385.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.007098, allocations: 0 / 385.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.031e-05/0.007159, allocations: 23.92 kB / 385.9 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.007162, allocations: 0 / 385.9 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.858e-05/0.007191, allocations: 8 kB / 385.9 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-06/0.007196, allocations: 4 kB / 385.9 MB, free: 16.54 MB / 314.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.544e-05/0.007251, allocations: 164.5 kB / 386.1 MB, free: 16.37 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.543e-05/0.007267, allocations: 19.89 kB / 386.1 MB, free: 16.35 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.007378, allocations: 99.11 kB / 386.2 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.00738, allocations: 0 / 386.2 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.007383, allocations: 0 / 386.2 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.007387, allocations: 3.984 kB / 386.2 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002062/0.007594, allocations: 365.5 kB / 386.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.007596, allocations: 0 / 386.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.186e-05/0.007618, allocations: 8 kB / 386.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.007622, allocations: 11.97 kB / 386.6 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.007628, allocations: 0 / 386.6 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.007629, allocations: 0 / 386.6 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.00763, allocations: 8.031 kB / 386.6 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.921e-05/0.00773, allocations: 263.6 kB / 386.9 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.029e-05/0.00774, allocations: 7.953 kB / 386.9 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.007756, allocations: 4 kB / 386.9 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.68e-05/0.007793, allocations: 0 / 386.9 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.557e-05/0.007818, allocations: 15.92 kB / 386.9 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.007829, allocations: 7.938 kB / 386.9 MB, free: 15.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.136e-05/0.00787, allocations: 172.2 kB / 387.1 MB, free: 15.33 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00787, allocations: 0 / 387.1 MB, free: 15.33 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001611/0.008031, allocations: 20 kB / 387.1 MB, free: 15.31 MB / 314.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.0008463/0.008877, allocations: 427.1 kB / 387.5 MB, free: 15.06 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.702e-05/0.008974, allocations: 55.58 kB / 387.6 MB, free: 15 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.008976, allocations: 0 / 387.6 MB, free: 15 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.962e-05/0.009005, allocations: 31.61 kB / 387.6 MB, free: 14.97 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.009219, allocations: 35.84 kB / 387.6 MB, free: 14.93 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002598/0.009479, allocations: 227.8 kB / 387.8 MB, free: 14.68 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.735e-05/0.009506, allocations: 71.33 kB / 387.9 MB, free: 14.59 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.069e-05/0.009537, allocations: 17.28 kB / 387.9 MB, free: 14.57 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.35e-05/0.009591, allocations: 86.19 kB / 388 MB, free: 14.48 MB / 314.7 MB Notification: Performance of SimCode: time 6.72e-07/0.009591, allocations: 0 / 388 MB, free: 14.48 MB / 314.7 MB Notification: Performance of Templates: time 0.00316/0.01275, allocations: 2.077 MB / 390.1 MB, free: 12.45 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.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.328029883094132]