Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.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.CombiTable1D.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23") translateModel(ModelicaTest.Tables.CombiTable1D.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009212/0.0009213, 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.443/1.443, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0008048/0.0008049, allocations: 93.84 kB / 267.1 MB, free: 9.27 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.3641/0.3641, allocations: 43.47 MB / 358.6 MB, free: 51.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.043e-05/3.078e-05, allocations: 0 / 425.3 MB, free: 8.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1245, allocations: 58.84 MB / 484.1 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4068/0.5313, allocations: 86.65 MB / 0.5574 GB, free: 17.23 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/0.5317, allocations: 72.81 kB / 0.5575 GB, free: 17.2 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009865/0.5415, allocations: 4.129 MB / 0.5615 GB, free: 14.98 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.5416, allocations: 0.6562 kB / 0.5615 GB, free: 14.98 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.5416, allocations: 7.938 kB / 0.5615 GB, free: 14.98 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003226/0.5419, allocations: 374.2 kB / 0.5619 GB, free: 14.59 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.542, allocations: 8.031 kB / 0.5619 GB, free: 14.58 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.06e-05/0.542, allocations: 11.34 kB / 0.5619 GB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.5422, allocations: 186 kB / 0.5621 GB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.5422, allocations: 3.984 kB / 0.5621 GB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/0.5423, allocations: 8.625 kB / 0.5621 GB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.5424, allocations: 61.28 kB / 0.5622 GB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.5424, allocations: 4 kB / 0.5622 GB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.5424, allocations: 0 / 0.5622 GB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.5424, allocations: 2.594 kB / 0.5622 GB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.116e-05/0.5425, allocations: 12.75 kB / 0.5622 GB, free: 14.28 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003534/0.5429, allocations: 282.5 kB / 0.5624 GB, free: 13.99 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.543, allocations: 48.95 kB / 0.5625 GB, free: 13.94 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.325e-05/0.5431, allocations: 12.86 kB / 0.5625 GB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.5431, allocations: 4 kB / 0.5625 GB, free: 13.92 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.5431, allocations: 32.86 kB / 0.5625 GB, free: 13.88 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.5431, allocations: 0 / 0.5625 GB, free: 13.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003906/0.5435, allocations: 109.6 kB / 0.5626 GB, free: 13.8 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.5436, allocations: 85.06 kB / 0.5627 GB, free: 13.7 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.905e-05/0.5437, allocations: 127.2 kB / 0.5628 GB, free: 13.58 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.5437, allocations: 29.7 kB / 0.5629 GB, free: 13.55 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.149e-05/0.5437, allocations: 89.31 kB / 0.563 GB, free: 13.46 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.5438, allocations: 23.94 kB / 0.563 GB, free: 13.45 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/0.5438, allocations: 0 / 0.563 GB, free: 13.45 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.212e-05/0.5438, allocations: 316.3 kB / 0.5633 GB, free: 13.13 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.379e-05/0.5439, allocations: 11.31 kB / 0.5633 GB, free: 13.12 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.922e-05/0.5439, allocations: 34.16 kB / 0.5633 GB, free: 13.1 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.32e-05/0.5439, allocations: 21.42 kB / 0.5633 GB, free: 13.09 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.544, allocations: 4 kB / 0.5634 GB, free: 13.08 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.463e-05/0.544, allocations: 63.19 kB / 0.5634 GB, free: 13.03 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.5441, allocations: 10.31 kB / 0.5634 GB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.5441, allocations: 0 / 0.5634 GB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.5441, allocations: 0 / 0.5634 GB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.623e-05/0.5442, allocations: 14.34 kB / 0.5634 GB, free: 13.01 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.5442, allocations: 4.031 kB / 0.5634 GB, free: 13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.357e-05/0.5442, allocations: 10.39 kB / 0.5634 GB, free: 13 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.5442, allocations: 4 kB / 0.5635 GB, free: 12.99 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.03e-05/0.5443, allocations: 105.4 kB / 0.5636 GB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.5443, allocations: 9.5 kB / 0.5636 GB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000144/0.5445, allocations: 81.55 kB / 0.5636 GB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.5445, allocations: 0 / 0.5636 GB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.5445, allocations: 0 / 0.5636 GB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.5445, allocations: 5.312 kB / 0.5636 GB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002632/0.5448, allocations: 340.4 kB / 0.564 GB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.5448, allocations: 1.5 kB / 0.564 GB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.724e-05/0.5449, allocations: 13.36 kB / 0.564 GB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.5449, allocations: 1.266 kB / 0.564 GB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.5449, allocations: 0 / 0.564 GB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.5449, allocations: 0.625 kB / 0.564 GB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.5449, allocations: 3.953 kB / 0.564 GB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.545, allocations: 164.7 kB / 0.5641 GB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.283e-05/0.5451, allocations: 86.17 kB / 0.5642 GB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.5451, allocations: 6.828 kB / 0.5642 GB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.488e-05/0.5452, allocations: 9.25 kB / 0.5642 GB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.971e-05/0.5452, allocations: 5.594 kB / 0.5642 GB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.5452, allocations: 4.094 kB / 0.5643 GB, free: 12.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.831e-05/0.5453, allocations: 114.1 kB / 0.5644 GB, free: 12.09 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5453, allocations: 0 / 0.5644 GB, free: 12.09 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002276/0.5455, allocations: 29.11 kB / 0.5644 GB, free: 12.06 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0008445/0.5464, allocations: 404.6 kB / 0.5648 GB, free: 11.74 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001059/0.5465, allocations: 34.17 kB / 0.5648 GB, free: 11.72 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5465, allocations: 4 kB / 0.5648 GB, free: 11.72 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.255e-05/0.5465, allocations: 24.52 kB / 0.5648 GB, free: 11.7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001875/0.5467, allocations: 13.59 kB / 0.5648 GB, free: 11.69 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002692/0.547, allocations: 100.4 kB / 0.5649 GB, free: 11.59 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001386/0.5472, allocations: 0.6975 MB / 0.5656 GB, free: 10.88 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.362e-05/0.5472, allocations: 20.48 kB / 0.5656 GB, free: 10.86 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.318e-05/0.5473, allocations: 13.31 kB / 0.5657 GB, free: 10.85 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5473, allocations: 0 / 0.5657 GB, free: 10.85 MB / 394.7 MB Notification: Performance of Templates: time 0.003432/0.5507, allocations: 1.305 MB / 0.5669 GB, free: 10.07 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test23/Test23.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches