Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 183.4 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.547/1.547, 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.0009028/0.0009027, allocations: 82.61 kB / 267.1 MB, free: 9.277 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.4163/0.4163, allocations: 43.46 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.541e-05/3.544e-05, allocations: 7.938 kB / 425.3 MB, free: 8.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1287, allocations: 58.85 MB / 484.2 MB, free: 13.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4023/0.5311, allocations: 88.61 MB / 0.5594 GB, free: 15.75 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/0.5314, allocations: 72.39 kB / 0.5594 GB, free: 15.72 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01074/0.5421, allocations: 4.247 MB / 0.5636 GB, free: 13.27 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.5422, allocations: 4 kB / 0.5636 GB, free: 13.26 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.389e-05/0.5422, allocations: 4 kB / 0.5636 GB, free: 13.26 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004263/0.5426, allocations: 446.5 kB / 0.564 GB, free: 12.8 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.5427, allocations: 16.03 kB / 0.564 GB, free: 12.79 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.48e-05/0.5427, allocations: 23.62 kB / 0.564 GB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.543, allocations: 225.9 kB / 0.5643 GB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.543, allocations: 5.359 kB / 0.5643 GB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.5431, allocations: 8 kB / 0.5643 GB, free: 12.53 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.5432, allocations: 101.6 kB / 0.5644 GB, free: 12.44 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.5433, allocations: 0 / 0.5644 GB, free: 12.44 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.5433, allocations: 5 kB / 0.5644 GB, free: 12.44 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.5433, allocations: 4 kB / 0.5644 GB, free: 12.44 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.368e-05/0.5434, allocations: 42.06 kB / 0.5644 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005012/0.5439, allocations: 0.5196 MB / 0.5649 GB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002289/0.5441, allocations: 83.33 kB / 0.565 GB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.047e-05/0.5442, allocations: 32.94 kB / 0.565 GB, free: 11.82 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.5442, allocations: 0 / 0.565 GB, free: 11.82 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001378/0.5444, allocations: 83.12 kB / 0.5651 GB, free: 11.75 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.5444, allocations: 0 / 0.5651 GB, free: 11.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002086/0.5446, allocations: 107.6 kB / 0.5652 GB, free: 11.66 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.5446, allocations: 52.95 kB / 0.5653 GB, free: 11.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.5448, allocations: 173.6 kB / 0.5654 GB, free: 11.45 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.5448, allocations: 29.92 kB / 0.5655 GB, free: 11.41 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.564e-05/0.5448, allocations: 110.7 kB / 0.5656 GB, free: 11.32 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.5449, allocations: 33.88 kB / 0.5656 GB, free: 11.29 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-06/0.5449, allocations: 3.562 kB / 0.5656 GB, free: 11.29 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.858e-05/0.5449, allocations: 327.2 kB / 0.5659 GB, free: 10.97 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.321e-05/0.545, allocations: 28.17 kB / 0.5659 GB, free: 10.96 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.313e-05/0.5451, allocations: 61.23 kB / 0.566 GB, free: 10.89 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.321e-05/0.5451, allocations: 27.44 kB / 0.566 GB, free: 10.88 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.5451, allocations: 4 kB / 0.566 GB, free: 10.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001588/0.5453, allocations: 123.1 kB / 0.5661 GB, free: 10.77 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.5453, allocations: 6.766 kB / 0.5661 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.5453, allocations: 0 / 0.5661 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.5453, allocations: 7.953 kB / 0.5662 GB, free: 10.76 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.677e-05/0.5454, allocations: 27.59 kB / 0.5662 GB, free: 10.74 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.5455, allocations: 0 / 0.5662 GB, free: 10.74 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.931e-05/0.5455, allocations: 21.16 kB / 0.5662 GB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.5456, allocations: 4 kB / 0.5662 GB, free: 10.72 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.491e-05/0.5456, allocations: 114.7 kB / 0.5663 GB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.888e-05/0.5456, allocations: 11.81 kB / 0.5663 GB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001909/0.5458, allocations: 120.6 kB / 0.5664 GB, free: 10.51 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.5458, allocations: 11.94 kB / 0.5665 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.5459, allocations: 0 / 0.5665 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.5459, allocations: 1.266 kB / 0.5665 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/0.546, allocations: 211.2 kB / 0.5667 GB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.546, allocations: 4 kB / 0.5667 GB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.624e-05/0.5461, allocations: 19.92 kB / 0.5667 GB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.5461, allocations: 0 / 0.5667 GB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.5461, allocations: 7.062 kB / 0.5667 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.5461, allocations: 0 / 0.5667 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.5461, allocations: 3.953 kB / 0.5667 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000221/0.5464, allocations: 172.4 kB / 0.5669 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.276e-05/0.5464, allocations: 104.2 kB / 0.567 GB, free: 9.977 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.5464, allocations: 3.984 kB / 0.567 GB, free: 9.973 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.62e-05/0.5465, allocations: 11.06 kB / 0.567 GB, free: 9.965 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/0.5466, allocations: 3.984 kB / 0.567 GB, free: 9.961 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.5466, allocations: 7.953 kB / 0.567 GB, free: 9.953 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.82e-05/0.5467, allocations: 148.8 kB / 0.5671 GB, free: 9.828 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5467, allocations: 0 / 0.5671 GB, free: 9.828 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002025/0.5469, allocations: 31.5 kB / 0.5672 GB, free: 9.801 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0007922/0.5477, allocations: 384.8 kB / 0.5675 GB, free: 9.504 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001438/0.5478, allocations: 72.73 kB / 0.5676 GB, free: 9.449 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5479, allocations: 0 / 0.5676 GB, free: 9.449 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.333e-05/0.5479, allocations: 30.31 kB / 0.5676 GB, free: 9.426 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.5482, allocations: 34.09 kB / 0.5676 GB, free: 9.398 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003731/0.5485, allocations: 193.8 kB / 0.5678 GB, free: 9.215 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001858/0.5487, allocations: 0.7165 MB / 0.5685 GB, free: 8.473 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.834e-05/0.5488, allocations: 21.14 kB / 0.5686 GB, free: 8.453 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.091e-05/0.5489, allocations: 19.42 kB / 0.5686 GB, free: 8.434 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5489, allocations: 0 / 0.5686 GB, free: 8.434 MB / 394.7 MB Notification: Performance of Templates: time 0.004076/0.5529, allocations: 1.795 MB / 0.5703 GB, free: 6.652 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches