Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.001344/0.001344, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001416/0.001416, allocations: 213 kB / 23.73 MB, free: 4.164 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.639/1.639, allocations: 230.5 MB / 257.4 MB, free: 7.809 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.263/0.263, allocations: 46.94 MB / 360.8 MB, free: 3.965 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.Test74,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_trunk_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,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_trunk_ModelicaTest.Tables.CombiTimeTable.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002406/0.002406, allocations: 79.88 kB / 0.4967 GB, free: 6.992 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4324/0.4348, allocations: 66.08 MB / 0.5613 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003612/0.4385, allocations: 1.872 MB / 0.5631 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002177/0.4406, allocations: 1.076 MB / 0.5641 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.501e-05/0.4407, allocations: 4 kB / 0.5641 GB, free: 1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005388/0.4413, allocations: 251.2 kB / 0.5644 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005202/0.4418, allocations: 239.2 kB / 0.5646 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.4421, allocations: 119.6 kB / 0.5647 GB, free: 412 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003586/0.4424, allocations: 271.2 kB / 0.565 GB, free: 140 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.4426, allocations: 21.95 kB / 0.565 GB, free: 116 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002279/0.4428, allocations: 139.5 kB / 0.5651 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003392/0.4431, allocations: 199.4 kB / 0.5653 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.623e-05/0.4432, allocations: 12 kB / 0.5653 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001868/0.4433, allocations: 67.97 kB / 0.5654 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001692/0.4435, allocations: 67.69 kB / 0.5655 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.4436, allocations: 71.42 kB / 0.5655 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005034/0.4441, allocations: 261.1 kB / 0.5658 GB, free: 15.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.4441, allocations: 4 kB / 0.5658 GB, free: 15.31 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4441, allocations: 0 / 0.5658 GB, free: 15.31 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.4441, allocations: 3.938 kB / 0.5658 GB, free: 15.31 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.0008915/0.445, allocations: 0.5196 MB / 0.5663 GB, free: 14.76 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.4451, allocations: 8.031 kB / 0.5663 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.645e-05/0.4452, allocations: 32.75 kB / 0.5663 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004221/0.4456, allocations: 232.9 kB / 0.5666 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.4456, allocations: 12.31 kB / 0.5666 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.06e-05/0.4456, allocations: 4.375 kB / 0.5666 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002596/0.4459, allocations: 115.7 kB / 0.5667 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.4459, allocations: 0 / 0.5667 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.4459, allocations: 0 / 0.5667 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.4459, allocations: 0 / 0.5667 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.4461, allocations: 51.95 kB / 0.5667 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006207/0.4467, allocations: 432.4 kB / 0.5671 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004389/0.4471, allocations: 121.2 kB / 0.5673 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.4472, allocations: 37.83 kB / 0.5673 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.4472, allocations: 7.938 kB / 0.5673 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002695/0.4475, allocations: 132.1 kB / 0.5674 GB, free: 13.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.563e-06/0.4475, allocations: 0 / 0.5674 GB, free: 13.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001542/0.4491, allocations: 0.5203 MB / 0.5679 GB, free: 12.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/0.4492, allocations: 85.05 kB / 0.568 GB, free: 12.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000762/0.4499, allocations: 0.5015 MB / 0.5685 GB, free: 12.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.708e-05/0.45, allocations: 33.7 kB / 0.5685 GB, free: 12.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/0.4502, allocations: 172.5 kB / 0.5687 GB, free: 12.13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.69e-05/0.4502, allocations: 75.41 kB / 0.5688 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.609e-05/0.4503, allocations: 45.7 kB / 0.5688 GB, free: 12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002178/0.4505, allocations: 346.8 kB / 0.5691 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.4507, allocations: 63.97 kB / 0.5692 GB, free: 11.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001763/0.4509, allocations: 104.6 kB / 0.5693 GB, free: 11.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000312/0.4512, allocations: 167.4 kB / 0.5695 GB, free: 11.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.4512, allocations: 0 / 0.5695 GB, free: 11.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000454/0.4516, allocations: 237.3 kB / 0.5697 GB, free: 11.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.4516, allocations: 8 kB / 0.5697 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.4517, allocations: 64 / 0.5697 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.4517, allocations: 4 kB / 0.5697 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.4518, allocations: 51.86 kB / 0.5698 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.4518, allocations: 0 / 0.5698 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.106e-05/0.4519, allocations: 15.98 kB / 0.5698 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.452, allocations: 4 kB / 0.5698 GB, free: 10.98 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.0001991/0.4522, allocations: 174.2 kB / 0.5699 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.146e-05/0.4522, allocations: 35.77 kB / 0.57 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005869/0.4528, allocations: 285.3 kB / 0.5702 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.4528, allocations: 11.94 kB / 0.5703 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.4528, allocations: 0 / 0.5703 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.4528, allocations: 0 / 0.5703 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.4539, allocations: 0.6878 MB / 0.5709 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.4539, allocations: 7.938 kB / 0.5709 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.47e-05/0.454, allocations: 31.92 kB / 0.571 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.454, allocations: 4 kB / 0.571 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.454, allocations: 8 kB / 0.571 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.454, allocations: 8.109 kB / 0.571 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.454, allocations: 4 kB / 0.571 GB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005529/0.4545, allocations: 441.7 kB / 0.5714 GB, free: 9.211 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.53e-05/0.4546, allocations: 35.81 kB / 0.5714 GB, free: 9.176 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.285e-05/0.4546, allocations: 8 kB / 0.5715 GB, free: 9.168 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.4548, allocations: 8.172 kB / 0.5715 GB, free: 9.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.558e-05/0.4548, allocations: 27.84 kB / 0.5715 GB, free: 9.133 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.77e-05/0.4549, allocations: 11.94 kB / 0.5715 GB, free: 9.121 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004042/0.4553, allocations: 383.1 kB / 0.5719 GB, free: 8.746 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4553, allocations: 4 kB / 0.5719 GB, free: 8.742 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003947/0.4557, allocations: 55.92 kB / 0.5719 GB, free: 8.688 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 (24): * Single equations (assignments): 20 * 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.002132/0.4578, allocations: 0.5381 MB / 0.5724 GB, free: 8.344 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004215/0.4582, allocations: 151.8 kB / 0.5726 GB, free: 8.195 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4582, allocations: 0 / 0.5726 GB, free: 8.195 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001665/0.4584, allocations: 80.16 kB / 0.5727 GB, free: 8.117 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005769/0.459, allocations: 65.52 kB / 0.5727 GB, free: 8.059 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.46, allocations: 0.6057 MB / 0.5733 GB, free: 7.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002154/0.4602, allocations: 182.4 kB / 0.5735 GB, free: 7.207 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001111/0.4604, allocations: 45.86 kB / 0.5735 GB, free: 7.164 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.337e-05/0.4604, allocations: 31.42 kB / 0.5736 GB, free: 7.133 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4604, allocations: 0 / 0.5736 GB, free: 7.133 MB / 414.1 MB Notification: Performance of Templates: time 0.008897/0.4693, allocations: 3.589 MB / 0.5771 GB, free: 3.59 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.515919029712677]