Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.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.001409/0.001409, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001927/0.001927, allocations: 167.4 kB / 25.61 MB, free: 8.578 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.02/1.02, 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.1566/0.1566, allocations: 34.87 MB / 297.4 MB, free: 13.34 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 380.1 MB, free: 22.67 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.134e-05/2.273e-05, allocations: 3.812 kB / 380.1 MB, free: 22.66 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002146/0.002169, allocations: 1.755 MB / 381.8 MB, free: 20.9 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.003297, allocations: 0.9969 MB / 382.8 MB, free: 19.9 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.499e-05/0.003382, allocations: 4 kB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002978/0.003679, allocations: 47.75 kB / 382.9 MB, free: 19.85 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002556/0.003935, allocations: 107.4 kB / 383 MB, free: 19.74 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001317/0.004067, allocations: 83.59 kB / 383.1 MB, free: 19.66 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.004207, allocations: 103.7 kB / 383.2 MB, free: 19.56 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.291e-05/0.0043, allocations: 7.984 kB / 383.2 MB, free: 19.55 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.548e-05/0.004375, allocations: 59.77 kB / 383.3 MB, free: 19.49 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.986e-05/0.004445, allocations: 23.91 kB / 383.3 MB, free: 19.47 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.004459, allocations: 4 kB / 383.3 MB, free: 19.46 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.877e-05/0.004528, allocations: 43.92 kB / 383.3 MB, free: 19.42 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.954e-05/0.004577, allocations: 35.84 kB / 383.4 MB, free: 19.39 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.18e-05/0.004609, allocations: 15.94 kB / 383.4 MB, free: 19.37 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.004763, allocations: 115.6 kB / 383.5 MB, free: 19.26 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.004764, allocations: 4 kB / 383.5 MB, free: 19.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004765, allocations: 0 / 383.5 MB, free: 19.25 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.004769, allocations: 0 / 383.5 MB, free: 19.25 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.0003888/0.005158, allocations: 479.5 kB / 384 MB, free: 18.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.005194, allocations: 12.03 kB / 384 MB, free: 18.74 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.898e-05/0.005233, allocations: 16.84 kB / 384 MB, free: 18.72 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.005372, allocations: 165.3 kB / 384.1 MB, free: 18.53 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.005391, allocations: 384 / 384.1 MB, free: 18.53 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.005412, allocations: 4.359 kB / 384.2 MB, free: 18.53 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.005516, allocations: 62.94 kB / 384.2 MB, free: 18.46 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.005526, allocations: 4.188 kB / 384.2 MB, free: 18.45 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.844e-06/0.005534, allocations: 384 / 384.2 MB, free: 18.45 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.00554, allocations: 7.875 kB / 384.2 MB, free: 18.45 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.74e-05/0.005567, allocations: 15.92 kB / 384.2 MB, free: 18.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002204/0.005787, allocations: 264.4 kB / 384.5 MB, free: 18.14 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.651e-05/0.005874, allocations: 47.17 kB / 384.5 MB, free: 18.09 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.886e-05/0.005893, allocations: 19.67 kB / 384.6 MB, free: 18.06 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.005903, allocations: 0 / 384.6 MB, free: 18.06 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.166e-05/0.005985, allocations: 68.97 kB / 384.6 MB, free: 17.98 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.005986, allocations: 4 kB / 384.6 MB, free: 17.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003015/0.006287, allocations: 141.4 kB / 384.8 MB, free: 17.83 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/0.006312, allocations: 59.41 kB / 384.8 MB, free: 17.76 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.006417, allocations: 265.6 kB / 385.1 MB, free: 17.48 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.446e-06/0.006426, allocations: 25.7 kB / 385.1 MB, free: 17.45 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.649e-05/0.006472, allocations: 174.8 kB / 385.3 MB, free: 17.28 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/0.006496, allocations: 23.78 kB / 385.3 MB, free: 17.25 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/0.006525, allocations: 27.36 kB / 385.3 MB, free: 17.22 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.238e-05/0.006588, allocations: 0.5079 MB / 385.8 MB, free: 16.7 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.598e-05/0.006604, allocations: 8 kB / 385.9 MB, free: 16.69 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.416e-05/0.006628, allocations: 31.73 kB / 385.9 MB, free: 16.65 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.296e-05/0.006671, allocations: 55.34 kB / 385.9 MB, free: 16.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.006672, allocations: 0 / 385.9 MB, free: 16.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.184e-05/0.006754, allocations: 101.4 kB / 386 MB, free: 16.48 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.006767, allocations: 5.562 kB / 386 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.006772, allocations: 0 / 386 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.006783, allocations: 0 / 386 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.373e-05/0.006847, allocations: 16 kB / 386.1 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.006852, allocations: 3.984 kB / 386.1 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.765e-05/0.006879, allocations: 4.031 kB / 386.1 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.006886, allocations: 8 kB / 386.1 MB, free: 16.45 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.487e-05/0.00694, allocations: 160.6 kB / 386.2 MB, free: 16.28 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/0.006956, allocations: 23.83 kB / 386.3 MB, free: 16.26 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/0.007075, allocations: 103.1 kB / 386.4 MB, free: 16.15 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.007078, allocations: 4 kB / 386.4 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.00708, allocations: 0 / 386.4 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.007084, allocations: 0 / 386.4 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002145/0.007299, allocations: 369.6 kB / 386.7 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.0073, allocations: 4.031 kB / 386.7 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.022e-05/0.00732, allocations: 15.88 kB / 386.7 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.007322, allocations: 0 / 386.7 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.007331, allocations: 11.98 kB / 386.7 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.007332, allocations: 0 / 386.7 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.007333, allocations: 0 / 386.7 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000102/0.007435, allocations: 255.4 kB / 387 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.231e-05/0.007448, allocations: 11.91 kB / 387 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.007464, allocations: 0 / 387 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.868e-05/0.007502, allocations: 8 kB / 387 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.871e-05/0.007531, allocations: 7.984 kB / 387 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.007542, allocations: 8 kB / 387 MB, free: 15.41 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.89e-05/0.007621, allocations: 184.5 kB / 387.2 MB, free: 15.23 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007621, allocations: 0 / 387.2 MB, free: 15.23 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001713/0.007792, allocations: 31.92 kB / 387.2 MB, free: 15.2 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.0009102/0.008703, allocations: 430.6 kB / 387.7 MB, free: 14.94 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001019/0.008804, allocations: 51.58 kB / 387.7 MB, free: 14.88 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.008806, allocations: 0 / 387.7 MB, free: 14.88 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.348e-05/0.008839, allocations: 35.73 kB / 387.8 MB, free: 14.84 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.009061, allocations: 43.66 kB / 387.8 MB, free: 14.8 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002987/0.00936, allocations: 256.4 kB / 388 MB, free: 14.52 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.006e-05/0.00939, allocations: 75.19 kB / 388.1 MB, free: 14.43 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.069e-05/0.009421, allocations: 12.97 kB / 388.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.456e-05/0.009475, allocations: 94.19 kB / 388.2 MB, free: 14.32 MB / 314.7 MB Notification: Performance of SimCode: time 6.81e-07/0.009476, allocations: 0 / 388.2 MB, free: 14.32 MB / 314.7 MB Notification: Performance of Templates: time 0.003505/0.01298, allocations: 2.088 MB / 390.3 MB, free: 12.27 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.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.594525930006057]