Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.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.00245/0.00245, allocations: 103.5 kB / 20.97 MB, free: 3.453 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.002698/0.002698, allocations: 156.8 kB / 24.27 MB, free: 160 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.607/1.607, allocations: 177 MB / 204.5 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.3954/0.3954, allocations: 34.25 MB / 295.2 MB, free: 0.6562 MB / 266.7 MB " [Timeout remaining time 179] 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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 377.3 MB, free: 2.848 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.773e-05/2.925e-05, allocations: 2.312 kB / 377.3 MB, free: 2.844 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003499/0.003529, allocations: 1.695 MB / 379 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001995/0.005524, allocations: 0.9776 MB / 380 MB, free: 156 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.7e-05/0.005581, allocations: 3.938 kB / 380 MB, free: 152 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002179/0.005799, allocations: 51.8 kB / 380 MB, free: 100 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003223/0.006121, allocations: 111.5 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002334/0.006354, allocations: 83.55 kB / 380.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.006543, allocations: 99.69 kB / 380.3 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.931e-05/0.006572, allocations: 4.234 kB / 380.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.006696, allocations: 59.75 kB / 380.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.925e-05/0.006785, allocations: 35.91 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.006803, allocations: 4 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.668e-05/0.00689, allocations: 39.91 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.317e-05/0.006943, allocations: 23.86 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.629e-05/0.006979, allocations: 11.94 kB / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.007186, allocations: 99.69 kB / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.007188, allocations: 4 kB / 380.6 MB, free: 15.53 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.007189, allocations: 0 / 380.6 MB, free: 15.53 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.007195, allocations: 7.938 kB / 380.6 MB, free: 15.52 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000537/0.007732, allocations: 431.7 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.879e-05/0.007761, allocations: 8.031 kB / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.662e-05/0.007807, allocations: 12.89 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.008033, allocations: 152.4 kB / 381.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.238e-06/0.008042, allocations: 384 / 381.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-06/0.00805, allocations: 384 / 381.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.008179, allocations: 54.22 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.008185, allocations: 4.188 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.682e-06/0.008191, allocations: 384 / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.008197, allocations: 3.938 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.295e-05/0.00826, allocations: 19.92 kB / 381.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001954/0.008455, allocations: 144.6 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.008612, allocations: 55.11 kB / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.737e-05/0.008669, allocations: 23.67 kB / 381.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.00868, allocations: 0 / 381.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002925/0.008972, allocations: 76.92 kB / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.008974, allocations: 4 kB / 381.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002818/0.009255, allocations: 93.62 kB / 381.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.009302, allocations: 55.34 kB / 381.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/0.009568, allocations: 242.6 kB / 381.9 MB, free: 14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.00959, allocations: 25.7 kB / 382 MB, free: 13.97 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.00971, allocations: 154.9 kB / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.009742, allocations: 15.83 kB / 382.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.235e-05/0.009795, allocations: 27.38 kB / 382.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002782/0.01007, allocations: 0.4962 MB / 382.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.636e-05/0.01012, allocations: 12 kB / 382.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.93e-05/0.01019, allocations: 39.3 kB / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.95e-05/0.01029, allocations: 51.36 kB / 382.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.01029, allocations: 0 / 382.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001696/0.01046, allocations: 81.83 kB / 382.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.01047, allocations: 4 kB / 382.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.01047, allocations: 64 / 382.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.01049, allocations: 8 kB / 382.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.957e-05/0.01056, allocations: 11.94 kB / 382.9 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/0.01056, allocations: 0 / 382.9 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.736e-05/0.01061, allocations: 11.94 kB / 382.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.01062, allocations: 4.031 kB / 382.9 MB, free: 13.02 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 (7): * Single equations (assignments): 7 * 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.0001331/0.01075, allocations: 160.6 kB / 383 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/0.01078, allocations: 11.95 kB / 383 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002201/0.011, allocations: 90.77 kB / 383.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.011, allocations: 4 kB / 383.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.01101, allocations: 3.938 kB / 383.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.01101, allocations: 3.984 kB / 383.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/0.01117, allocations: 144.6 kB / 383.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.01118, allocations: 0 / 383.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.79e-05/0.0112, allocations: 8 kB / 383.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.01121, allocations: 4 kB / 383.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.01121, allocations: 0 / 383.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.01121, allocations: 0 / 383.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.01121, allocations: 0 / 383.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002236/0.01144, allocations: 136.2 kB / 383.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.494e-05/0.01146, allocations: 15.83 kB / 383.4 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.01148, allocations: 0 / 383.4 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.947e-05/0.01152, allocations: 7.984 kB / 383.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.776e-05/0.01155, allocations: 3.938 kB / 383.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/0.01157, allocations: 11.98 kB / 383.5 MB, free: 12.35 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001473/0.01171, allocations: 167.9 kB / 383.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01171, allocations: 4 kB / 383.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002173/0.01193, allocations: 23.98 kB / 383.7 MB, free: 12.16 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.002799/0.01473, allocations: 417.8 kB / 384.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001651/0.0149, allocations: 55.59 kB / 384.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.0149, allocations: 0 / 384.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.19e-05/0.01497, allocations: 27.67 kB / 384.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.01522, allocations: 34.17 kB / 384.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004292/0.01565, allocations: 198.2 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.01576, allocations: 93.38 kB / 384.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.521e-05/0.0158, allocations: 16.67 kB / 384.5 MB, free: 11.42 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.616e-05/0.01584, allocations: 16.5 kB / 384.5 MB, free: 11.4 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01584, allocations: 0 / 384.5 MB, free: 11.4 MB / 362.7 MB Notification: Performance of Templates: time 0.005185/0.02102, allocations: 1.647 MB / 386.1 MB, free: 9.773 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.060330577078275]