Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001269/0.001269, 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.522/1.522, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0008309/0.000831, allocations: 81.02 kB / 267 MB, free: 9.281 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.3584/0.3584, allocations: 43.47 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.156e-05/4.16e-05, allocations: 4 kB / 425.3 MB, free: 8.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1229, allocations: 58.84 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3747/0.4977, allocations: 87.58 MB / 0.5583 GB, free: 16.53 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002173/0.4979, allocations: 76.92 kB / 0.5584 GB, free: 16.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01311/0.511, allocations: 5.23 MB / 0.5635 GB, free: 13.51 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.5111, allocations: 0 / 0.5635 GB, free: 13.51 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.5111, allocations: 0 / 0.5635 GB, free: 13.51 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.0003789/0.5115, allocations: 392 kB / 0.5639 GB, free: 13.11 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.5116, allocations: 15.97 kB / 0.5639 GB, free: 13.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.124e-05/0.5116, allocations: 15.34 kB / 0.5639 GB, free: 13.08 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.5119, allocations: 206.6 kB / 0.5641 GB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.5119, allocations: 0 / 0.5641 GB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/0.5119, allocations: 8 kB / 0.5641 GB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.5121, allocations: 49.22 kB / 0.5642 GB, free: 12.81 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.5121, allocations: 0.9375 kB / 0.5642 GB, free: 12.81 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.5121, allocations: 1.375 kB / 0.5642 GB, free: 12.81 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.5121, allocations: 1 kB / 0.5642 GB, free: 12.81 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.662e-05/0.5122, allocations: 24.77 kB / 0.5642 GB, free: 12.8 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003409/0.5125, allocations: 304.4 kB / 0.5645 GB, free: 12.49 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.5126, allocations: 51.92 kB / 0.5645 GB, free: 12.45 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.437e-05/0.5127, allocations: 18.17 kB / 0.5646 GB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.5127, allocations: 3.828 kB / 0.5646 GB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001139/0.5128, allocations: 77.56 kB / 0.5646 GB, free: 12.36 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.5128, allocations: 0 / 0.5646 GB, free: 12.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004084/0.5132, allocations: 152.5 kB / 0.5648 GB, free: 12.24 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.5133, allocations: 54.78 kB / 0.5648 GB, free: 12.18 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.5134, allocations: 163.9 kB / 0.565 GB, free: 12.04 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.5134, allocations: 25.7 kB / 0.565 GB, free: 12.01 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.083e-05/0.5135, allocations: 100 kB / 0.5651 GB, free: 11.92 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.5135, allocations: 30.05 kB / 0.5651 GB, free: 11.9 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/0.5135, allocations: 7.375 kB / 0.5651 GB, free: 11.89 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.096e-05/0.5136, allocations: 321 kB / 0.5655 GB, free: 11.58 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.229e-05/0.5136, allocations: 18.06 kB / 0.5655 GB, free: 11.57 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.198e-05/0.5137, allocations: 40.39 kB / 0.5655 GB, free: 11.54 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.102e-05/0.5137, allocations: 21.19 kB / 0.5655 GB, free: 11.52 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.5137, allocations: 0 / 0.5655 GB, free: 11.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001188/0.5138, allocations: 95.06 kB / 0.5656 GB, free: 11.45 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.5139, allocations: 10.16 kB / 0.5656 GB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.5139, allocations: 4 kB / 0.5656 GB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.5139, allocations: 0 / 0.5656 GB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.656e-05/0.514, allocations: 13.69 kB / 0.5656 GB, free: 11.42 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.514, allocations: 5.312 kB / 0.5657 GB, free: 11.42 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.435e-05/0.514, allocations: 4 kB / 0.5657 GB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.5141, allocations: 4 kB / 0.5657 GB, free: 11.41 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 5.237e-05/0.5141, allocations: 116 kB / 0.5658 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.638e-05/0.5141, allocations: 7.906 kB / 0.5658 GB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001878/0.5143, allocations: 125.1 kB / 0.5659 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.5143, allocations: 1.453 kB / 0.5659 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5144, allocations: 0 / 0.5659 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.5144, allocations: 3.953 kB / 0.5659 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000319/0.5147, allocations: 404.4 kB / 0.5663 GB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.5147, allocations: 0 / 0.5663 GB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.6e-05/0.5147, allocations: 12 kB / 0.5663 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.5148, allocations: 4.031 kB / 0.5663 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.5148, allocations: 3 kB / 0.5663 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.5148, allocations: 7.953 kB / 0.5663 GB, free: 10.76 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5148, allocations: 3.938 kB / 0.5663 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.5149, allocations: 215.3 kB / 0.5665 GB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.515, allocations: 89 kB / 0.5666 GB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.515, allocations: 11.27 kB / 0.5666 GB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.942e-05/0.5151, allocations: 4 kB / 0.5666 GB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.588e-05/0.5151, allocations: 7.984 kB / 0.5666 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.5152, allocations: 4 kB / 0.5666 GB, free: 10.41 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.79e-05/0.5152, allocations: 134.4 kB / 0.5668 GB, free: 10.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5152, allocations: 0 / 0.5668 GB, free: 10.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002353/0.5155, allocations: 34.34 kB / 0.5668 GB, free: 10.27 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.0008716/0.5164, allocations: 432.9 kB / 0.5672 GB, free: 9.914 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001201/0.5165, allocations: 56.61 kB / 0.5673 GB, free: 9.871 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.5165, allocations: 0 / 0.5673 GB, free: 9.871 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.393e-05/0.5166, allocations: 30 kB / 0.5673 GB, free: 9.852 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.5168, allocations: 26.86 kB / 0.5673 GB, free: 9.832 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002866/0.5171, allocations: 160.8 kB / 0.5675 GB, free: 9.668 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.5172, allocations: 0.7004 MB / 0.5682 GB, free: 8.941 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.765e-05/0.5173, allocations: 24.83 kB / 0.5682 GB, free: 8.918 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.388e-05/0.5173, allocations: 19.06 kB / 0.5682 GB, free: 8.902 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5173, allocations: 4 kB / 0.5682 GB, free: 8.898 MB / 394.7 MB Notification: Performance of Templates: time 0.003519/0.5209, allocations: 1.66 MB / 0.5698 GB, free: 7.254 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches