Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.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.001023/0.001023, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001187/0.001187, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 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.012/1.012, allocations: 177 MB / 204.8 MB, free: 5.578 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.2746/0.2746, allocations: 34.87 MB / 296.3 MB, free: 0.5469 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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 378.8 MB, free: 2.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.772e-05/2.946e-05, allocations: 3.156 kB / 378.8 MB, free: 2.008 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003205/0.003234, allocations: 1.768 MB / 380.6 MB, free: 232 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.004542, allocations: 1.02 MB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.561e-05/0.004627, allocations: 0 / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002926/0.00492, allocations: 43.69 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003967/0.005316, allocations: 99.53 kB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002138/0.00553, allocations: 79.61 kB / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.005694, allocations: 103.6 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.625e-05/0.00578, allocations: 11.98 kB / 382 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.984e-05/0.00587, allocations: 55.78 kB / 382 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.065e-05/0.005951, allocations: 31.91 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.005973, allocations: 4 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.069e-05/0.006064, allocations: 43.92 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.349e-05/0.006117, allocations: 23.91 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.129e-05/0.006158, allocations: 19.92 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.006361, allocations: 107.5 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.006364, allocations: 0 / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.006366, allocations: 0 / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.006371, allocations: 0 / 382.2 MB, free: 14.59 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.0005225/0.006894, allocations: 451.8 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.00693, allocations: 8.031 kB / 382.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.131e-05/0.006982, allocations: 20.89 kB / 382.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.00715, allocations: 152.9 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.007176, allocations: 4.375 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.007198, allocations: 384 / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.007327, allocations: 70.86 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.007337, allocations: 4.188 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.007346, allocations: 384 / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.007354, allocations: 7.875 kB / 383 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.751e-05/0.007391, allocations: 12 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00033/0.007721, allocations: 283.8 kB / 383.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.007829, allocations: 63.09 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.221e-05/0.007862, allocations: 15.69 kB / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.007874, allocations: 4 kB / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.909e-05/0.007974, allocations: 68.98 kB / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.007975, allocations: 0 / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000435/0.00841, allocations: 157.3 kB / 383.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.008444, allocations: 55.39 kB / 383.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.008584, allocations: 233.9 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.008599, allocations: 37.7 kB / 383.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.948e-05/0.008658, allocations: 150.8 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.008686, allocations: 31.77 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.008721, allocations: 27.38 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.008836, allocations: 0.5001 MB / 384.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.487e-05/0.008861, allocations: 8 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.626e-05/0.008897, allocations: 43.23 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.64e-05/0.008953, allocations: 43.38 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.008955, allocations: 0 / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001119/0.009067, allocations: 97.5 kB / 384.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.00908, allocations: 8 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.009086, allocations: 0 / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.009101, allocations: 0 / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.578e-05/0.009177, allocations: 16 kB / 384.8 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.009184, allocations: 4 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.106e-05/0.009215, allocations: 7.938 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.009221, allocations: 4 kB / 384.8 MB, free: 11.81 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.342e-05/0.009295, allocations: 168.5 kB / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.799e-05/0.009313, allocations: 15.89 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001496/0.009462, allocations: 107.1 kB / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.009465, allocations: 4 kB / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.009468, allocations: 0 / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.009472, allocations: 384 / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002961/0.009769, allocations: 396.9 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.009771, allocations: 4 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.881e-05/0.0098, allocations: 19.92 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.009802, allocations: 0 / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.00981, allocations: 0 / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.009812, allocations: 0 / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.009813, allocations: 8.031 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.009954, allocations: 255.4 kB / 385.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.419e-05/0.009969, allocations: 15.91 kB / 385.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.009987, allocations: 3.984 kB / 385.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.604e-05/0.01003, allocations: 4 kB / 385.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.01007, allocations: 7.984 kB / 385.8 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.01008, allocations: 4 kB / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.835e-05/0.01017, allocations: 180.2 kB / 386 MB, free: 10.56 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01017, allocations: 0 / 386 MB, free: 10.56 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001873/0.01036, allocations: 27.92 kB / 386 MB, free: 10.53 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.001076/0.01143, allocations: 434.7 kB / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001379/0.01157, allocations: 55.53 kB / 386.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.01157, allocations: 4 kB / 386.5 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.898e-05/0.01161, allocations: 31.67 kB / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.01185, allocations: 23.97 kB / 386.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004009/0.01225, allocations: 233.8 kB / 386.8 MB, free: 9.852 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.864e-05/0.0123, allocations: 71.45 kB / 386.8 MB, free: 9.762 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.46e-05/0.01235, allocations: 25.27 kB / 386.9 MB, free: 9.734 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.057e-05/0.01239, allocations: 20.5 kB / 386.9 MB, free: 9.715 MB / 362.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01239, allocations: 0 / 386.9 MB, free: 9.715 MB / 362.7 MB Notification: Performance of Templates: time 0.004347/0.01674, allocations: 1.993 MB / 388.9 MB, free: 7.742 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.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.209398465231061]