Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.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.0009425/0.0009425, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.000995/0.000995, allocations: 156 kB / 24.98 MB, free: 8.223 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.9458/0.9458, allocations: 177 MB / 205.2 MB, free: 5.605 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.2552/0.2552, allocations: 34.86 MB / 296.6 MB, free: 488 kB / 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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 378.8 MB, free: 2.309 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.116e-05/3.264e-05, allocations: 3.578 kB / 378.8 MB, free: 2.305 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.00236/0.002392, allocations: 1.84 MB / 380.7 MB, free: 460 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.003776, allocations: 1.085 MB / 381.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.717e-05/0.003874, allocations: 7.938 kB / 381.8 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004504/0.004324, allocations: 307.1 kB / 382.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000435/0.004759, allocations: 259 kB / 382.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002529/0.005012, allocations: 107.6 kB / 382.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000305/0.005317, allocations: 275.2 kB / 382.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.647e-05/0.005363, allocations: 9.812 kB / 382.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.00552, allocations: 151.6 kB / 382.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000194/0.005714, allocations: 211.6 kB / 383.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.005733, allocations: 4 kB / 383.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.549e-05/0.005828, allocations: 51.86 kB / 383.1 MB, free: 14 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.005942, allocations: 135.5 kB / 383.2 MB, free: 13.87 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.695e-05/0.006019, allocations: 79.64 kB / 383.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002971/0.006316, allocations: 275 kB / 383.6 MB, free: 13.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.006319, allocations: 4 kB / 383.6 MB, free: 13.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.006321, allocations: 0 / 383.6 MB, free: 13.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.006327, allocations: 4 kB / 383.6 MB, free: 13.51 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007608/0.007087, allocations: 0.7901 MB / 384.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.007122, allocations: 8.031 kB / 384.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.675e-05/0.007209, allocations: 68.48 kB / 384.5 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003388/0.007548, allocations: 332.7 kB / 384.8 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.007569, allocations: 4.359 kB / 384.8 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.007581, allocations: 4.375 kB / 384.8 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004284/0.00801, allocations: 102.2 kB / 384.9 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.008017, allocations: 192 / 384.9 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.008028, allocations: 384 / 384.9 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.008037, allocations: 7.938 kB / 384.9 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.929e-05/0.008087, allocations: 15.98 kB / 384.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003041/0.008391, allocations: 316.2 kB / 385.2 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.008554, allocations: 98.16 kB / 385.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.885e-05/0.008603, allocations: 35.36 kB / 385.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.008617, allocations: 0 / 385.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001557/0.008773, allocations: 116.3 kB / 385.5 MB, free: 11.46 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.008774, allocations: 0 / 385.5 MB, free: 11.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003371/0.009111, allocations: 181.2 kB / 385.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.009153, allocations: 81.05 kB / 385.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005219/0.009675, allocations: 0.7135 MB / 386.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.009692, allocations: 29.7 kB / 386.5 MB, free: 10.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.009839, allocations: 306.8 kB / 386.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.592e-05/0.009885, allocations: 31.75 kB / 386.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.009928, allocations: 35.36 kB / 386.8 MB, free: 10.03 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.01009, allocations: 0.5587 MB / 387.4 MB, free: 9.461 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.894e-05/0.01013, allocations: 19.98 kB / 387.4 MB, free: 9.441 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.814e-05/0.01018, allocations: 54.73 kB / 387.5 MB, free: 9.371 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.531e-05/0.01026, allocations: 74.67 kB / 387.5 MB, free: 9.281 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01027, allocations: 0 / 387.5 MB, free: 9.281 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001686/0.01043, allocations: 157.2 kB / 387.7 MB, free: 9.121 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.01045, allocations: 4 kB / 387.7 MB, free: 9.117 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.01045, allocations: 0.625 kB / 387.7 MB, free: 9.117 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.01047, allocations: 8.062 kB / 387.7 MB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.958e-05/0.01056, allocations: 19.94 kB / 387.7 MB, free: 9.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.01057, allocations: 3.984 kB / 387.7 MB, free: 9.086 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.756e-05/0.01062, allocations: 15.95 kB / 387.7 MB, free: 9.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.01063, allocations: 11.94 kB / 387.8 MB, free: 9.059 MB / 362.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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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 0.0001056/0.01074, allocations: 166 kB / 387.9 MB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.598e-05/0.01078, allocations: 55.66 kB / 388 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002334/0.01102, allocations: 165.9 kB / 388.1 MB, free: 8.664 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.01102, allocations: 0 / 388.1 MB, free: 8.664 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.01103, allocations: 3.938 kB / 388.1 MB, free: 8.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.01103, allocations: 4 kB / 388.1 MB, free: 8.656 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/0.01126, allocations: 324.4 kB / 388.5 MB, free: 8.305 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.01126, allocations: 4 kB / 388.5 MB, free: 8.301 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.117e-05/0.0113, allocations: 8 kB / 388.5 MB, free: 8.293 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.0113, allocations: 3.984 kB / 388.5 MB, free: 8.289 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.01131, allocations: 4 kB / 388.5 MB, free: 8.285 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.01131, allocations: 3.984 kB / 388.5 MB, free: 8.281 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01131, allocations: 0 / 388.5 MB, free: 8.281 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001919/0.01151, allocations: 215.6 kB / 388.7 MB, free: 8.043 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.963e-05/0.01156, allocations: 63.66 kB / 388.8 MB, free: 7.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/0.0116, allocations: 11.98 kB / 388.8 MB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.599e-05/0.01164, allocations: 7.938 kB / 388.8 MB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/0.01168, allocations: 11.92 kB / 388.8 MB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.0117, allocations: 4 kB / 388.8 MB, free: 7.945 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003466/0.01205, allocations: 494.7 kB / 389.3 MB, free: 7.465 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01205, allocations: 0 / 389.3 MB, free: 7.465 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001962/0.01224, allocations: 40 kB / 389.3 MB, free: 7.426 MB / 362.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001032/0.01327, allocations: 391 kB / 389.7 MB, free: 7.156 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001562/0.01343, allocations: 79.64 kB / 389.8 MB, free: 7.074 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01343, allocations: 0 / 389.8 MB, free: 7.074 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.252e-05/0.01348, allocations: 35.67 kB / 389.8 MB, free: 7.035 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.01379, allocations: 71.81 kB / 389.9 MB, free: 6.965 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007308/0.01452, allocations: 0.6713 MB / 390.5 MB, free: 6.258 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.637e-05/0.01459, allocations: 132.2 kB / 390.7 MB, free: 6.109 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.496e-05/0.01467, allocations: 46.92 kB / 390.7 MB, free: 6.059 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.524e-05/0.01472, allocations: 28.5 kB / 390.8 MB, free: 6.031 MB / 362.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01473, allocations: 0 / 390.8 MB, free: 6.031 MB / 362.7 MB Notification: Performance of Templates: time 0.006624/0.02135, allocations: 4.059 MB / 394.8 MB, free: 2.008 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.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.116559371119365]