Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.001385/0.001385, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001572/0.001572, allocations: 209.8 kB / 24.48 MB, free: 3.934 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.525/1.525, allocations: 230.5 MB / 258.1 MB, free: 7.77 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.2433/0.2433, allocations: 46.95 MB / 361.6 MB, free: 3.898 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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002773/0.002773, allocations: 83.8 kB / 0.4974 GB, free: 6.949 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3892/0.392, allocations: 66.09 MB / 0.562 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.004349/0.3964, allocations: 1.71 MB / 0.5637 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003452/0.3998, allocations: 1.663 MB / 0.5653 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.4, allocations: 0 / 0.5653 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000382/0.4003, allocations: 39.77 kB / 0.5653 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005617/0.4009, allocations: 99.55 kB / 0.5654 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.4012, allocations: 83.59 kB / 0.5655 GB, free: 496 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002395/0.4014, allocations: 103.8 kB / 0.5656 GB, free: 392 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.4015, allocations: 8 kB / 0.5656 GB, free: 384 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.4017, allocations: 47.77 kB / 0.5656 GB, free: 336 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001645/0.4018, allocations: 43.77 kB / 0.5657 GB, free: 292 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.4019, allocations: 7.938 kB / 0.5657 GB, free: 284 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002629/0.4021, allocations: 108 kB / 0.5658 GB, free: 176 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.199e-05/0.4022, allocations: 19.91 kB / 0.5658 GB, free: 156 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.395e-05/0.4023, allocations: 23.88 kB / 0.5658 GB, free: 132 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004618/0.4027, allocations: 174 kB / 0.566 GB, free: 15.96 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.4027, allocations: 0 / 0.566 GB, free: 15.96 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4027, allocations: 0 / 0.566 GB, free: 15.96 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.4027, allocations: 0 / 0.566 GB, free: 15.96 MB / 414.1 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.0007399/0.4035, allocations: 357.5 kB / 0.5663 GB, free: 15.58 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.4035, allocations: 8.031 kB / 0.5663 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.247e-05/0.4036, allocations: 12.84 kB / 0.5664 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004924/0.4041, allocations: 154.9 kB / 0.5665 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.4041, allocations: 384 / 0.5665 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/0.4041, allocations: 8.125 kB / 0.5665 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002489/0.4044, allocations: 109 kB / 0.5666 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.4044, allocations: 0 / 0.5666 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.4044, allocations: 0 / 0.5666 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.4044, allocations: 0 / 0.5666 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.272e-05/0.4045, allocations: 19.98 kB / 0.5666 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005272/0.405, allocations: 232.5 kB / 0.5669 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003247/0.4054, allocations: 62.61 kB / 0.5669 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.168e-05/0.4054, allocations: 16.86 kB / 0.5669 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.4054, allocations: 8 kB / 0.5669 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001879/0.4056, allocations: 67.38 kB / 0.567 GB, free: 14.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.4056, allocations: 0 / 0.567 GB, free: 14.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006833/0.4063, allocations: 181.3 kB / 0.5672 GB, free: 14.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.287e-05/0.4064, allocations: 81.11 kB / 0.5673 GB, free: 14.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002183/0.4066, allocations: 166.5 kB / 0.5674 GB, free: 14.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.4066, allocations: 29.7 kB / 0.5674 GB, free: 14.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.385e-05/0.4067, allocations: 100.1 kB / 0.5675 GB, free: 14.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/0.4068, allocations: 27.8 kB / 0.5676 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.625e-05/0.4068, allocations: 25.7 kB / 0.5676 GB, free: 14.15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.407, allocations: 326.8 kB / 0.5679 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.129e-05/0.4071, allocations: 23.92 kB / 0.5679 GB, free: 13.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.4072, allocations: 72.27 kB / 0.568 GB, free: 13.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.4073, allocations: 53.72 kB / 0.568 GB, free: 13.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.4073, allocations: 0 / 0.568 GB, free: 13.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002386/0.4075, allocations: 109.7 kB / 0.5682 GB, free: 13.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.4076, allocations: 10.34 kB / 0.5682 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.4076, allocations: 0 / 0.5682 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.4076, allocations: 4 kB / 0.5682 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.921e-05/0.4077, allocations: 15.98 kB / 0.5682 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.4077, allocations: 0 / 0.5682 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.977e-05/0.4078, allocations: 7.938 kB / 0.5682 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.4078, allocations: 8 kB / 0.5682 GB, free: 13.5 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 (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 0.0001367/0.4079, allocations: 129.7 kB / 0.5683 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.937e-05/0.4079, allocations: 7.953 kB / 0.5683 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002865/0.4082, allocations: 122.3 kB / 0.5684 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.4082, allocations: 4 kB / 0.5684 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.4082, allocations: 0 / 0.5684 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.4082, allocations: 0 / 0.5684 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005158/0.4087, allocations: 351.2 kB / 0.5688 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.4088, allocations: 0 / 0.5688 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.256e-05/0.4088, allocations: 12 kB / 0.5688 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.185e-06/0.4088, allocations: 0 / 0.5688 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.4088, allocations: 16.2 kB / 0.5688 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.4088, allocations: 0 / 0.5688 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.4088, allocations: 7.969 kB / 0.5688 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003046/0.4091, allocations: 216.2 kB / 0.569 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.566e-05/0.4092, allocations: 15.89 kB / 0.569 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.4092, allocations: 4 kB / 0.569 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.016e-05/0.4093, allocations: 4 kB / 0.569 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.407e-05/0.4093, allocations: 11.92 kB / 0.5691 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.379e-05/0.4093, allocations: 8 kB / 0.5691 GB, free: 12.53 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001361/0.4095, allocations: 127.9 kB / 0.5692 GB, free: 12.4 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4095, allocations: 4 kB / 0.5692 GB, free: 12.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003371/0.4098, allocations: 43.86 kB / 0.5692 GB, free: 12.36 MB / 414.1 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.002366/0.4122, allocations: 0.5734 MB / 0.5698 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002266/0.4124, allocations: 63.89 kB / 0.5699 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4124, allocations: 0 / 0.5699 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.496e-05/0.4125, allocations: 32.11 kB / 0.5699 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.4128, allocations: 27.08 kB / 0.5699 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006457/0.4135, allocations: 236.4 kB / 0.5701 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.4136, allocations: 85.31 kB / 0.5702 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.499e-05/0.4137, allocations: 23.42 kB / 0.5702 GB, free: 11.46 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4137, allocations: 3.938 kB / 0.5702 GB, free: 11.46 MB / 414.1 MB Notification: Performance of Templates: time 0.005973/0.4196, allocations: 2.43 MB / 0.5726 GB, free: 9.035 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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: 8.126744367182255]