Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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.001732/0.001732, allocations: 105.4 kB / 19.81 MB, free: 2.516 MB / 14.72 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.002411/0.002411, allocations: 218.2 kB / 23 MB, free: 5.609 MB / 14.72 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.555/1.555, allocations: 230.2 MB / 256.2 MB, free: 8.555 MB / 206.1 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.2645/0.2645, allocations: 46.9 MB / 359.4 MB, free: 4.879 MB / 286.1 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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003343/0.003343, allocations: 83.86 kB / 0.4947 GB, free: 8.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4914/0.4948, allocations: 65.98 MB / 0.5592 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003385/0.4982, allocations: 1.71 MB / 0.5608 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002022/0.5002, allocations: 1.018 MB / 0.5618 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.499e-05/0.5003, allocations: 7.938 kB / 0.5618 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003302/0.5006, allocations: 51.8 kB / 0.5619 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003277/0.5009, allocations: 95.53 kB / 0.562 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000184/0.5011, allocations: 75.69 kB / 0.562 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001901/0.5013, allocations: 103.7 kB / 0.5621 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.843e-05/0.5013, allocations: 8.234 kB / 0.5621 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.5014, allocations: 43.78 kB / 0.5622 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.367e-05/0.5015, allocations: 27.84 kB / 0.5622 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.5016, allocations: 4 kB / 0.5622 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.362e-05/0.5016, allocations: 31.98 kB / 0.5622 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.279e-05/0.5017, allocations: 31.8 kB / 0.5623 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.996e-05/0.5018, allocations: 47.66 kB / 0.5623 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.502, allocations: 121.8 kB / 0.5624 GB, free: 1.676 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.502, allocations: 0 / 0.5624 GB, free: 1.676 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.502, allocations: 7.938 kB / 0.5624 GB, free: 1.668 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.502, allocations: 0 / 0.5624 GB, free: 1.668 MB / 398.1 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.0007203/0.5028, allocations: 438.5 kB / 0.5629 GB, free: 1.191 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.5028, allocations: 12.03 kB / 0.5629 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.558e-05/0.5029, allocations: 8.891 kB / 0.5629 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003744/0.5032, allocations: 232.9 kB / 0.5631 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.5032, allocations: 384 / 0.5631 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.5033, allocations: 8.312 kB / 0.5631 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.5034, allocations: 53.98 kB / 0.5632 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.5034, allocations: 0 / 0.5632 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.5034, allocations: 0 / 0.5632 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.5034, allocations: 0 / 0.5632 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.381e-05/0.5035, allocations: 19.97 kB / 0.5632 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003641/0.5039, allocations: 193.7 kB / 0.5634 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.5041, allocations: 50.56 kB / 0.5634 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.751e-05/0.5041, allocations: 24.84 kB / 0.5634 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.5042, allocations: 0 / 0.5634 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001767/0.5043, allocations: 71.33 kB / 0.5635 GB, free: 420 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.5043, allocations: 0 / 0.5635 GB, free: 420 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003363/0.5047, allocations: 97.58 kB / 0.5636 GB, free: 316 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/0.5047, allocations: 55.34 kB / 0.5637 GB, free: 248 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003467/0.5051, allocations: 278.8 kB / 0.5639 GB, free: 15.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.5051, allocations: 29.7 kB / 0.5639 GB, free: 15.92 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.236e-05/0.5052, allocations: 108.1 kB / 0.5641 GB, free: 15.81 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.229e-05/0.5052, allocations: 15.91 kB / 0.5641 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.254e-05/0.5053, allocations: 17.72 kB / 0.5641 GB, free: 15.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.5055, allocations: 326.8 kB / 0.5644 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.846e-05/0.5055, allocations: 12 kB / 0.5644 GB, free: 15.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.956e-05/0.5056, allocations: 37.7 kB / 0.5644 GB, free: 15.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.5057, allocations: 41.7 kB / 0.5645 GB, free: 15.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5057, allocations: 0 / 0.5645 GB, free: 15.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001695/0.5059, allocations: 89.47 kB / 0.5646 GB, free: 15.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.5059, allocations: 8 kB / 0.5646 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.5059, allocations: 0 / 0.5646 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.5059, allocations: 0 / 0.5646 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.223e-05/0.506, allocations: 8 kB / 0.5646 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.506, allocations: 4.031 kB / 0.5646 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.039e-05/0.5061, allocations: 19.81 kB / 0.5646 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.5061, allocations: 4 kB / 0.5646 GB, free: 15.21 MB / 414.1 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.0001739/0.5062, allocations: 129.8 kB / 0.5647 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/0.5063, allocations: 23.78 kB / 0.5648 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002275/0.5065, allocations: 90.67 kB / 0.5648 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.5065, allocations: 4.312 kB / 0.5648 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.5065, allocations: 0 / 0.5648 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.5065, allocations: 7.984 kB / 0.5649 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001978/0.5067, allocations: 197.6 kB / 0.565 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.5067, allocations: 4 kB / 0.565 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.593e-05/0.5067, allocations: 7.875 kB / 0.5651 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.5067, allocations: 4 kB / 0.5651 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.5068, allocations: 0 / 0.5651 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.5068, allocations: 0 / 0.5651 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.5068, allocations: 0 / 0.5651 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/0.507, allocations: 117 kB / 0.5652 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001699/0.5071, allocations: 92.95 kB / 0.5653 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.5072, allocations: 0 / 0.5653 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.771e-05/0.5072, allocations: 3.984 kB / 0.5653 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/0.5072, allocations: 8 kB / 0.5653 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.5073, allocations: 0 / 0.5653 GB, free: 14.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002268/0.5075, allocations: 204.6 kB / 0.5655 GB, free: 14.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5075, allocations: 0 / 0.5655 GB, free: 14.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002254/0.5077, allocations: 16 kB / 0.5655 GB, free: 14.21 MB / 414.1 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 (5): * Single equations (assignments): 3 * 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.00155/0.5093, allocations: 425.8 kB / 0.5659 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001725/0.5094, allocations: 35.98 kB / 0.5659 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.5094, allocations: 0 / 0.5659 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.357e-05/0.5095, allocations: 19.98 kB / 0.5659 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.5098, allocations: 31.23 kB / 0.566 GB, free: 13.85 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005483/0.5103, allocations: 282.3 kB / 0.5662 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004904/0.5108, allocations: 0.7206 MB / 0.5669 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.768e-05/0.5109, allocations: 16.53 kB / 0.567 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.224e-05/0.5109, allocations: 11.44 kB / 0.567 GB, free: 12.77 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.5109, allocations: 4 kB / 0.567 GB, free: 12.77 MB / 414.1 MB Notification: Performance of Templates: time 0.005352/0.5163, allocations: 1.561 MB / 0.5685 GB, free: 11.22 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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.549753260798752]