Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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.001478/0.001478, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001795/0.001795, allocations: 171.9 kB / 24.82 MB, free: 9.273 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.019/1.019, allocations: 177 MB / 205.1 MB, free: 5.469 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.2747/0.2747, allocations: 34.86 MB / 296.6 MB, free: 0.5156 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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 379.3 MB, free: 1.766 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.599e-05/2.792e-05, allocations: 11.17 kB / 379.3 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.005692/0.005719, allocations: 1.714 MB / 381 MB, free: 28 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.007112, allocations: 0.9851 MB / 382 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.798e-05/0.0072, allocations: 0 / 382 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003236/0.007524, allocations: 51.69 kB / 382.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003338/0.007858, allocations: 115.5 kB / 382.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001751/0.008033, allocations: 75.62 kB / 382.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.008199, allocations: 107.6 kB / 382.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.218e-05/0.008241, allocations: 240 / 382.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.639e-05/0.008337, allocations: 47.84 kB / 382.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.408e-05/0.008412, allocations: 31.84 kB / 382.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.008427, allocations: 4 kB / 382.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.269e-05/0.0085, allocations: 31.98 kB / 382.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.283e-05/0.008553, allocations: 31.92 kB / 382.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.946e-05/0.008592, allocations: 19.86 kB / 382.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.008764, allocations: 99.66 kB / 382.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.008768, allocations: 0 / 382.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.008769, allocations: 0 / 382.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.077e-06/0.008773, allocations: 0 / 382.6 MB, free: 14.43 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.0004493/0.009222, allocations: 475.6 kB / 383.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.00926, allocations: 11.97 kB / 383.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.023e-05/0.0093, allocations: 16.84 kB / 383.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.009466, allocations: 165.2 kB / 383.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.009481, allocations: 4.375 kB / 383.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.009492, allocations: 8.375 kB / 383.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.0096, allocations: 54.94 kB / 383.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.009608, allocations: 192 / 383.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.009615, allocations: 384 / 383.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.009622, allocations: 3.938 kB / 383.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.724e-05/0.009649, allocations: 11.92 kB / 383.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001323/0.009782, allocations: 117.3 kB / 383.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.672e-05/0.009868, allocations: 51.09 kB / 383.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.397e-05/0.009892, allocations: 15.69 kB / 383.5 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.009907, allocations: 0 / 383.5 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001151/0.01002, allocations: 65.05 kB / 383.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.01002, allocations: 3.938 kB / 383.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001771/0.0102, allocations: 81.58 kB / 383.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.01023, allocations: 51.41 kB / 383.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.0104, allocations: 273.5 kB / 384 MB, free: 12.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.01042, allocations: 25.7 kB / 384 MB, free: 12.85 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.102e-05/0.01049, allocations: 170.8 kB / 384.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/0.01052, allocations: 11.91 kB / 384.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/0.01056, allocations: 31.36 kB / 384.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.01069, allocations: 0.5001 MB / 384.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.326e-05/0.01072, allocations: 4.25 kB / 384.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.936e-05/0.01075, allocations: 31.34 kB / 384.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.791e-05/0.0108, allocations: 39.31 kB / 384.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.0108, allocations: 0 / 384.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001036/0.0109, allocations: 77.53 kB / 384.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.01091, allocations: 4 kB / 384.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.01092, allocations: 0 / 384.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.01094, allocations: 12.02 kB / 384.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.36e-05/0.011, allocations: 11.98 kB / 384.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.011, allocations: 3.938 kB / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.316e-05/0.01104, allocations: 4 kB / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.509e-06/0.01104, allocations: 3.938 kB / 384.9 MB, free: 11.91 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.0003193/0.01136, allocations: 156.6 kB / 385.1 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.01138, allocations: 23.89 kB / 385.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/0.0115, allocations: 78.77 kB / 385.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.0115, allocations: 0 / 385.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.0115, allocations: 0 / 385.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.01151, allocations: 11.94 kB / 385.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.01161, allocations: 137.1 kB / 385.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01161, allocations: 0 / 385.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.23e-05/0.01164, allocations: 4 kB / 385.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.01164, allocations: 0 / 385.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.01164, allocations: 4 kB / 385.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.01165, allocations: 0 / 385.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.01165, allocations: 128 / 385.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.01176, allocations: 132.2 kB / 385.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.828e-05/0.01177, allocations: 11.91 kB / 385.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.01179, allocations: 0 / 385.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.123e-05/0.01182, allocations: 4 kB / 385.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.484e-05/0.01185, allocations: 11.98 kB / 385.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.01186, allocations: 0 / 385.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.805e-05/0.01196, allocations: 184.5 kB / 385.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01196, allocations: 0 / 385.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001908/0.01215, allocations: 19.98 kB / 385.7 MB, free: 11.08 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.000985/0.01313, allocations: 376.4 kB / 386 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.08e-05/0.01322, allocations: 39.61 kB / 386.1 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01322, allocations: 0 / 386.1 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.349e-05/0.01326, allocations: 19.69 kB / 386.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/0.01344, allocations: 31.91 kB / 386.1 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002928/0.01374, allocations: 238.6 kB / 386.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.521e-05/0.01378, allocations: 71.33 kB / 386.4 MB, free: 10.37 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.935e-05/0.01381, allocations: 20.41 kB / 386.5 MB, free: 10.35 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.507e-05/0.01388, allocations: 82.19 kB / 386.5 MB, free: 10.27 MB / 362.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01388, allocations: 4 kB / 386.5 MB, free: 10.27 MB / 362.7 MB Notification: Performance of Templates: time 0.003323/0.0172, allocations: 1.809 MB / 388.3 MB, free: 8.488 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.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: 2.9887792291119695]