Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001122/0.001122, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 205.2 MB / 218.9 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008897/0.0008897, allocations: 89.86 kB / 267.1 MB, free: 9.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3589/0.3589, allocations: 43.47 MB / 358.6 MB, free: 51.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.793e-05/3.795e-05, allocations: 8 kB / 425.3 MB, free: 8.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1254, allocations: 58.84 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3698/0.4953, allocations: 87.62 MB / 0.5584 GB, free: 16.39 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002105/0.4955, allocations: 76.84 kB / 0.5585 GB, free: 16.37 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01325/0.5088, allocations: 5.323 MB / 0.5636 GB, free: 13.35 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.5088, allocations: 0 / 0.5636 GB, free: 13.35 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.5089, allocations: 4 kB / 0.5637 GB, free: 13.35 MB / 394.7 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.0003345/0.5092, allocations: 399.8 kB / 0.564 GB, free: 12.94 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.5093, allocations: 17.72 kB / 0.5641 GB, free: 12.92 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.191e-05/0.5093, allocations: 11.34 kB / 0.5641 GB, free: 12.91 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.5095, allocations: 197.1 kB / 0.5642 GB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.5096, allocations: 7.984 kB / 0.5643 GB, free: 12.69 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.5096, allocations: 0 / 0.5643 GB, free: 12.69 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.5097, allocations: 57.06 kB / 0.5643 GB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.5097, allocations: 0 / 0.5643 GB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.5097, allocations: 4.438 kB / 0.5643 GB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.5097, allocations: 0 / 0.5643 GB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.487e-05/0.5098, allocations: 21.92 kB / 0.5643 GB, free: 12.63 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000307/0.5101, allocations: 299.2 kB / 0.5646 GB, free: 12.33 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.942e-05/0.5102, allocations: 53.02 kB / 0.5647 GB, free: 12.28 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.281e-05/0.5103, allocations: 19.61 kB / 0.5647 GB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.5103, allocations: 7.922 kB / 0.5647 GB, free: 12.26 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000121/0.5104, allocations: 79.16 kB / 0.5648 GB, free: 12.18 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.5104, allocations: 0 / 0.5648 GB, free: 12.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003971/0.5108, allocations: 150.7 kB / 0.5649 GB, free: 12.07 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.737e-05/0.5109, allocations: 52.86 kB / 0.565 GB, free: 12 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.511, allocations: 164.9 kB / 0.5651 GB, free: 11.86 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.511, allocations: 29.14 kB / 0.5652 GB, free: 11.83 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.118e-05/0.5111, allocations: 97.69 kB / 0.5652 GB, free: 11.75 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.5111, allocations: 25.09 kB / 0.5653 GB, free: 11.73 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-06/0.5111, allocations: 4 kB / 0.5653 GB, free: 11.72 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.977e-05/0.5112, allocations: 326.4 kB / 0.5656 GB, free: 11.41 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.293e-05/0.5112, allocations: 19.31 kB / 0.5656 GB, free: 11.39 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.817e-05/0.5112, allocations: 32.88 kB / 0.5656 GB, free: 11.37 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.969e-05/0.5113, allocations: 21.45 kB / 0.5657 GB, free: 11.36 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.5113, allocations: 4 kB / 0.5657 GB, free: 11.35 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001205/0.5114, allocations: 97.14 kB / 0.5658 GB, free: 11.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.5114, allocations: 9.125 kB / 0.5658 GB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.5114, allocations: 1.594 kB / 0.5658 GB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.5115, allocations: 4 kB / 0.5658 GB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.348e-05/0.5116, allocations: 16.83 kB / 0.5658 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.5116, allocations: 5.453 kB / 0.5658 GB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.167e-05/0.5116, allocations: 4 kB / 0.5658 GB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.046e-06/0.5116, allocations: 4 kB / 0.5658 GB, free: 11.23 MB / 394.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.612e-05/0.5117, allocations: 113.3 kB / 0.5659 GB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.659e-05/0.5117, allocations: 11.91 kB / 0.5659 GB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001758/0.5119, allocations: 117.8 kB / 0.566 GB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.5119, allocations: 5.688 kB / 0.566 GB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.5119, allocations: 1.312 kB / 0.566 GB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.5119, allocations: 3.953 kB / 0.566 GB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003318/0.5123, allocations: 404.3 kB / 0.5664 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5123, allocations: 0 / 0.5664 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.897e-05/0.5123, allocations: 15.98 kB / 0.5664 GB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.5123, allocations: 4.031 kB / 0.5664 GB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.5123, allocations: 0 / 0.5664 GB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.5123, allocations: 3.953 kB / 0.5664 GB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.5124, allocations: 4 kB / 0.5665 GB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/0.5125, allocations: 215.8 kB / 0.5667 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.782e-05/0.5126, allocations: 93 kB / 0.5667 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.5126, allocations: 11.27 kB / 0.5668 GB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.889e-05/0.5127, allocations: 4 kB / 0.5668 GB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.5127, allocations: 7.984 kB / 0.5668 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.5127, allocations: 3.375 kB / 0.5668 GB, free: 10.25 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.949e-05/0.5128, allocations: 130.8 kB / 0.5669 GB, free: 10.14 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5128, allocations: 0 / 0.5669 GB, free: 10.14 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002367/0.5131, allocations: 39.14 kB / 0.5669 GB, free: 10.1 MB / 394.7 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009075/0.514, allocations: 431.7 kB / 0.5673 GB, free: 9.75 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001323/0.5141, allocations: 57 kB / 0.5674 GB, free: 9.707 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.5141, allocations: 0 / 0.5674 GB, free: 9.707 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.39e-05/0.5142, allocations: 31.36 kB / 0.5674 GB, free: 9.684 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.5144, allocations: 30.11 kB / 0.5675 GB, free: 9.66 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003163/0.5148, allocations: 152.2 kB / 0.5676 GB, free: 9.504 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/0.5149, allocations: 0.7043 MB / 0.5683 GB, free: 8.773 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.521e-05/0.515, allocations: 12.86 kB / 0.5683 GB, free: 8.762 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.563e-05/0.515, allocations: 26.73 kB / 0.5683 GB, free: 8.738 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.515, allocations: 0 / 0.5683 GB, free: 8.738 MB / 394.7 MB Notification: Performance of Templates: time 0.003521/0.5185, allocations: 1.667 MB / 0.57 GB, free: 7.09 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches