Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.0009812/0.0009812, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001118/0.001118, allocations: 163.5 kB / 24.99 MB, free: 8.801 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.9573/0.9573, allocations: 177 MB / 205.2 MB, free: 5.609 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.2608/0.2608, allocations: 34.86 MB / 296.6 MB, free: 0.5586 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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 378.8 MB, free: 2.371 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.358e-05/1.499e-05, allocations: 10.25 kB / 378.8 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002032/0.002047, allocations: 1.762 MB / 380.6 MB, free: 0.582 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.003234, allocations: 1.005 MB / 381.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.802e-05/0.003312, allocations: 7.938 kB / 381.6 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002563/0.003569, allocations: 39.75 kB / 381.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002673/0.003836, allocations: 107.5 kB / 381.8 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001799/0.004016, allocations: 83.61 kB / 381.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.004189, allocations: 107.6 kB / 381.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.988e-05/0.004278, allocations: 8 kB / 382 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.672e-05/0.004365, allocations: 59.81 kB / 382 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.221e-05/0.004437, allocations: 19.92 kB / 382 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.004453, allocations: 4 kB / 382 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.279e-05/0.004536, allocations: 47.91 kB / 382.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.658e-05/0.004593, allocations: 27.86 kB / 382.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.114e-05/0.004634, allocations: 19.92 kB / 382.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.004815, allocations: 107.6 kB / 382.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.004817, allocations: 4 kB / 382.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.004817, allocations: 0 / 382.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.004821, allocations: 0 / 382.2 MB, free: 14.94 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004324/0.005253, allocations: 467.7 kB / 382.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.005286, allocations: 8.031 kB / 382.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.996e-05/0.005336, allocations: 16.84 kB / 382.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.005505, allocations: 153.2 kB / 382.9 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.005527, allocations: 8.312 kB / 382.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.005547, allocations: 8.359 kB / 382.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.005663, allocations: 62.94 kB / 382.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.005673, allocations: 4.188 kB / 382.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-06/0.00568, allocations: 384 / 382.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.739e-06/0.00569, allocations: 11.92 kB / 383 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.555e-05/0.005726, allocations: 11.98 kB / 383 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002876/0.006013, allocations: 295.8 kB / 383.3 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.781e-05/0.006111, allocations: 51.11 kB / 383.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.888e-05/0.00614, allocations: 19.69 kB / 383.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.006151, allocations: 0 / 383.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.061e-05/0.006241, allocations: 68.98 kB / 383.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 8.21e-07/0.006242, allocations: 4 kB / 383.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003739/0.006616, allocations: 165.3 kB / 383.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.006646, allocations: 51.41 kB / 383.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.006795, allocations: 259.1 kB / 383.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.006807, allocations: 29.7 kB / 383.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.847e-05/0.006865, allocations: 158.9 kB / 384.1 MB, free: 12.94 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.006893, allocations: 27.78 kB / 384.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.127e-05/0.006924, allocations: 27.31 kB / 384.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.007043, allocations: 0.5001 MB / 384.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.393e-05/0.007067, allocations: 11.98 kB / 384.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.523e-05/0.007102, allocations: 43.3 kB / 384.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.783e-05/0.00716, allocations: 43.38 kB / 384.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.00716, allocations: 0 / 384.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001113/0.007272, allocations: 105.4 kB / 384.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.007283, allocations: 4 kB / 384.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.007288, allocations: 4 kB / 384.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.007299, allocations: 0 / 384.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.761e-05/0.007366, allocations: 15.94 kB / 384.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.007371, allocations: 0 / 384.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.063e-05/0.007401, allocations: 12.02 kB / 384.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.007407, allocations: 4 kB / 384.8 MB, free: 12.1 MB / 362.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 7.026e-05/0.007477, allocations: 158.8 kB / 385 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.875e-05/0.007496, allocations: 24.22 kB / 385 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001485/0.007644, allocations: 103.1 kB / 385.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.007647, allocations: 4 kB / 385.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.00765, allocations: 0 / 385.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.007655, allocations: 4 kB / 385.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002912/0.007946, allocations: 408.9 kB / 385.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.007947, allocations: 4.031 kB / 385.5 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.534e-05/0.007972, allocations: 8 kB / 385.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.007975, allocations: 0 / 385.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.007983, allocations: 4 kB / 385.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.007984, allocations: 0 / 385.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.007985, allocations: 0 / 385.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001384/0.008124, allocations: 259.4 kB / 385.8 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.43e-05/0.008138, allocations: 23.89 kB / 385.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.008154, allocations: 4 kB / 385.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.158e-05/0.008196, allocations: 4 kB / 385.8 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.751e-05/0.008223, allocations: 7.984 kB / 385.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.008235, allocations: 4 kB / 385.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.486e-05/0.00832, allocations: 187.1 kB / 386 MB, free: 10.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00832, allocations: 0 / 386 MB, free: 10.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001761/0.008496, allocations: 27.94 kB / 386.1 MB, free: 10.81 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: 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.00089/0.009386, allocations: 425.2 kB / 386.5 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001124/0.009498, allocations: 59.53 kB / 386.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.009499, allocations: 0 / 386.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.052e-05/0.00954, allocations: 35.73 kB / 386.6 MB, free: 10.42 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.009768, allocations: 27.98 kB / 386.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003321/0.0101, allocations: 245.5 kB / 386.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.123e-05/0.01014, allocations: 71.33 kB / 386.9 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.341e-05/0.01017, allocations: 17.27 kB / 386.9 MB, free: 10.01 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.92e-05/0.0102, allocations: 20.48 kB / 386.9 MB, free: 9.992 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.0102, allocations: 0 / 386.9 MB, free: 9.992 MB / 362.7 MB Notification: Performance of Templates: time 0.003294/0.0135, allocations: 1.881 MB / 388.8 MB, free: 8.137 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.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.097350826021284]