Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.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.001659/0.001659, allocations: 109 kB / 21.23 MB, free: 0.6719 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.001848/0.001848, allocations: 209.2 kB / 24.53 MB, free: 4.035 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.625/1.625, allocations: 230.3 MB / 258 MB, free: 8.219 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2353/0.2353, allocations: 46.95 MB / 361.4 MB, free: 4.387 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002864/0.002864, allocations: 83.88 kB / 0.4972 GB, free: 7.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.417, allocations: 66.05 MB / 0.5617 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.004129/0.4211, allocations: 1.94 MB / 0.5636 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002117/0.4232, allocations: 1.154 MB / 0.5648 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.529e-05/0.4233, allocations: 3.938 kB / 0.5648 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005027/0.4238, allocations: 223.4 kB / 0.565 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004687/0.4243, allocations: 215.2 kB / 0.5652 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002806/0.4246, allocations: 123.6 kB / 0.5653 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003225/0.4249, allocations: 255.3 kB / 0.5655 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.425, allocations: 25.55 kB / 0.5656 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.4252, allocations: 131.5 kB / 0.5657 GB, free: 452 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000204/0.4254, allocations: 171.4 kB / 0.5658 GB, free: 280 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.609e-05/0.4254, allocations: 8 kB / 0.5659 GB, free: 272 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.4255, allocations: 67.98 kB / 0.5659 GB, free: 204 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.746e-05/0.4256, allocations: 63.75 kB / 0.566 GB, free: 140 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.937e-05/0.4257, allocations: 91.23 kB / 0.5661 GB, free: 48 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003356/0.4261, allocations: 241.7 kB / 0.5663 GB, free: 15.81 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.4261, allocations: 0 / 0.5663 GB, free: 15.81 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.447e-06/0.4261, allocations: 4 kB / 0.5663 GB, free: 15.81 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.4261, allocations: 0 / 0.5663 GB, free: 15.81 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007604/0.4268, allocations: 0.4963 MB / 0.5668 GB, free: 15.28 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.4269, allocations: 8.031 kB / 0.5668 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.896e-05/0.427, allocations: 36.75 kB / 0.5668 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000375/0.4273, allocations: 234.5 kB / 0.5671 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.4273, allocations: 4.375 kB / 0.5671 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.4274, allocations: 8.375 kB / 0.5671 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/0.4276, allocations: 115.6 kB / 0.5672 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.4276, allocations: 3.938 kB / 0.5672 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.4277, allocations: 8 kB / 0.5672 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.4277, allocations: 4 kB / 0.5672 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.4278, allocations: 43.97 kB / 0.5672 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005802/0.4284, allocations: 455.7 kB / 0.5677 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003758/0.4287, allocations: 113.2 kB / 0.5678 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.4289, allocations: 45.81 kB / 0.5678 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.4289, allocations: 4 kB / 0.5678 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000241/0.4291, allocations: 113.1 kB / 0.5679 GB, free: 13.99 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.363e-06/0.4291, allocations: 4 kB / 0.5679 GB, free: 13.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.00134/0.4305, allocations: 0.5092 MB / 0.5684 GB, free: 13.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.267e-05/0.4305, allocations: 77.11 kB / 0.5685 GB, free: 13.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005149/0.431, allocations: 448.5 kB / 0.5689 GB, free: 12.92 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.4311, allocations: 33.7 kB / 0.569 GB, free: 12.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.4312, allocations: 160.5 kB / 0.5691 GB, free: 12.72 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.462e-05/0.4313, allocations: 75.41 kB / 0.5692 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.617e-05/0.4313, allocations: 41.7 kB / 0.5692 GB, free: 12.6 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.4315, allocations: 350.8 kB / 0.5696 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.4317, allocations: 51.98 kB / 0.5696 GB, free: 12.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.4318, allocations: 96.2 kB / 0.5697 GB, free: 12.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003737/0.4322, allocations: 159.3 kB / 0.5699 GB, free: 11.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.4322, allocations: 4 kB / 0.5699 GB, free: 11.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004139/0.4326, allocations: 233.6 kB / 0.5701 GB, free: 11.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.4326, allocations: 6.188 kB / 0.5701 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.4326, allocations: 4 kB / 0.5701 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.4326, allocations: 8 kB / 0.5701 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.4328, allocations: 43.92 kB / 0.5701 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.4328, allocations: 0 / 0.5701 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.424e-05/0.4329, allocations: 15.94 kB / 0.5702 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.4329, allocations: 12 kB / 0.5702 GB, free: 11.6 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001777/0.4331, allocations: 178.2 kB / 0.5703 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.28e-05/0.4331, allocations: 31.81 kB / 0.5704 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005205/0.4337, allocations: 260.3 kB / 0.5706 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.4337, allocations: 8 kB / 0.5706 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.4337, allocations: 3.938 kB / 0.5706 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.4337, allocations: 3.984 kB / 0.5706 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.4347, allocations: 0.6989 MB / 0.5713 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.4347, allocations: 8.125 kB / 0.5713 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.013e-05/0.4348, allocations: 31.92 kB / 0.5714 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/0.4348, allocations: 0 / 0.5714 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/0.4348, allocations: 8 kB / 0.5714 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.4349, allocations: 4 kB / 0.5714 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4349, allocations: 240 / 0.5714 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005203/0.4354, allocations: 433.4 kB / 0.5718 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.698e-05/0.4354, allocations: 31.77 kB / 0.5718 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.139e-05/0.4355, allocations: 7.984 kB / 0.5718 GB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.4356, allocations: 8 kB / 0.5718 GB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.854e-05/0.4357, allocations: 23.91 kB / 0.5718 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/0.4357, allocations: 19.94 kB / 0.5719 GB, free: 9.754 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003594/0.436, allocations: 331 kB / 0.5722 GB, free: 9.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.436, allocations: 4 kB / 0.5722 GB, free: 9.426 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003617/0.4364, allocations: 47.92 kB / 0.5722 GB, free: 9.379 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001973/0.4384, allocations: 0.5084 MB / 0.5727 GB, free: 9.047 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003741/0.4388, allocations: 151.9 kB / 0.5729 GB, free: 8.898 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4388, allocations: 3.938 kB / 0.5729 GB, free: 8.895 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.4389, allocations: 71.84 kB / 0.5729 GB, free: 8.824 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005605/0.4395, allocations: 67.81 kB / 0.573 GB, free: 8.762 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.4405, allocations: 0.5552 MB / 0.5736 GB, free: 8.168 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005148/0.441, allocations: 0.7753 MB / 0.5743 GB, free: 7.363 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001125/0.4412, allocations: 45.91 kB / 0.5744 GB, free: 7.316 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.139e-05/0.4412, allocations: 23.44 kB / 0.5744 GB, free: 7.293 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4412, allocations: 0 / 0.5744 GB, free: 7.293 MB / 414.1 MB Notification: Performance of Templates: time 0.007852/0.4491, allocations: 3.287 MB / 0.5776 GB, free: 4.023 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.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.660546365194023]