Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001097/0.001096, allocations: 199.5 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 226.5 MB / 243.4 MB, free: 6.477 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007449/0.0007449, allocations: 105.1 kB / 295.5 MB, free: 6.652 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3529/0.3529, allocations: 44.82 MB / 392.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003274/0.0003275, allocations: 11.98 kB / 465.3 MB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3542, allocations: 62.95 MB / 0.5159 GB, free: 37.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.002745/0.357, allocations: 1.29 MB / 0.5171 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0025/0.3595, allocations: 1.083 MB / 0.5182 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.3597, allocations: 0 / 0.5182 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003902/0.3601, allocations: 24.17 kB / 0.5182 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004549/0.3606, allocations: 63.12 kB / 0.5183 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004547/0.3611, allocations: 82.66 kB / 0.5184 GB, free: 35.44 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.3613, allocations: 53.8 kB / 0.5184 GB, free: 35.42 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.3614, allocations: 21.19 kB / 0.5184 GB, free: 35.41 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.414e-05/0.3615, allocations: 23.48 kB / 0.5185 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002324/0.3618, allocations: 26.92 kB / 0.5185 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.3618, allocations: 6.188 kB / 0.5185 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000253/0.3621, allocations: 82.11 kB / 0.5186 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.669e-05/0.3622, allocations: 14.16 kB / 0.5186 GB, free: 35.35 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.662e-05/0.3622, allocations: 40.42 kB / 0.5186 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002826/0.3625, allocations: 101.8 kB / 0.5187 GB, free: 35.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3626, allocations: 0 / 0.5187 GB, free: 35.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.016e-06/0.3626, allocations: 4 kB / 0.5187 GB, free: 35.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.3626, allocations: 0 / 0.5187 GB, free: 35.27 MB / 378.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.0006517/0.3632, allocations: 390.1 kB / 0.5191 GB, free: 34.87 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.874e-05/0.3633, allocations: 12.52 kB / 0.5191 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.198e-05/0.3634, allocations: 7.688 kB / 0.5191 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003369/0.3638, allocations: 198 kB / 0.5193 GB, free: 34.65 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.3638, allocations: 384 / 0.5193 GB, free: 34.65 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.017e-05/0.3639, allocations: 3.406 kB / 0.5193 GB, free: 34.65 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002702/0.3642, allocations: 71.98 kB / 0.5194 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.3642, allocations: 0 / 0.5194 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.3642, allocations: 3.984 kB / 0.5194 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/0.3643, allocations: 0 / 0.5194 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/0.3644, allocations: 24.47 kB / 0.5194 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005957/0.3651, allocations: 279.1 kB / 0.5197 GB, free: 34.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000357/0.3654, allocations: 45.52 kB / 0.5197 GB, free: 34.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.847e-05/0.3656, allocations: 21.09 kB / 0.5197 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.732e-05/0.3656, allocations: 0 / 0.5197 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.039e-05/0.3657, allocations: 34.56 kB / 0.5198 GB, free: 34.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.004e-06/0.3657, allocations: 0 / 0.5198 GB, free: 34.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009606/0.3667, allocations: 155.7 kB / 0.5199 GB, free: 34.14 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/0.3668, allocations: 81.11 kB / 0.52 GB, free: 34.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002365/0.367, allocations: 144.1 kB / 0.5201 GB, free: 33.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.3671, allocations: 29.64 kB / 0.5202 GB, free: 33.9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.392e-05/0.3671, allocations: 98.11 kB / 0.5202 GB, free: 33.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.3672, allocations: 18.89 kB / 0.5203 GB, free: 33.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/0.3672, allocations: 0 / 0.5203 GB, free: 33.79 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.53e-05/0.3673, allocations: 321.8 kB / 0.5206 GB, free: 33.47 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.3674, allocations: 29.62 kB / 0.5206 GB, free: 33.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.3675, allocations: 34.03 kB / 0.5206 GB, free: 33.44 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002299/0.3678, allocations: 56.11 kB / 0.5207 GB, free: 33.42 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3678, allocations: 0 / 0.5207 GB, free: 33.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003413/0.3682, allocations: 84.77 kB / 0.5208 GB, free: 33.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.3682, allocations: 5.781 kB / 0.5208 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.3682, allocations: 4.062 kB / 0.5208 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.3683, allocations: 10.72 kB / 0.5208 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.3684, allocations: 14.61 kB / 0.5208 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.3684, allocations: 3.938 kB / 0.5208 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.776e-05/0.3685, allocations: 5.844 kB / 0.5208 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.3685, allocations: 7.172 kB / 0.5208 GB, free: 33.36 MB / 378.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 () * Number of clocked 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 9.852e-05/0.3687, allocations: 115.7 kB / 0.5209 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.326e-05/0.3687, allocations: 2.875 kB / 0.5209 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003789/0.3691, allocations: 108.3 kB / 0.521 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.3691, allocations: 0 / 0.521 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.3692, allocations: 0 / 0.521 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.3692, allocations: 6.719 kB / 0.521 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006193/0.3698, allocations: 355 kB / 0.5214 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.3698, allocations: 0 / 0.5214 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.435e-05/0.3699, allocations: 14.61 kB / 0.5214 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.37, allocations: 2.812 kB / 0.5214 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.37, allocations: 0 / 0.5214 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.37, allocations: 3.938 kB / 0.5214 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.37, allocations: 0 / 0.5214 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003397/0.3704, allocations: 190.3 kB / 0.5216 GB, free: 32.69 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.608e-05/0.3704, allocations: 91.42 kB / 0.5217 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.811e-05/0.3705, allocations: 0 / 0.5217 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.3706, allocations: 16.5 kB / 0.5217 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.038e-05/0.3707, allocations: 2.781 kB / 0.5217 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.3707, allocations: 8 kB / 0.5217 GB, free: 32.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001308/0.3709, allocations: 115.8 kB / 0.5218 GB, free: 32.49 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.3709, allocations: 3.938 kB / 0.5218 GB, free: 32.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005148/0.3714, allocations: 34.27 kB / 0.5218 GB, free: 32.48 MB / 378.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 () * Number of clocked 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.001833/0.3733, allocations: 485.9 kB / 0.5223 GB, free: 32.24 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003376/0.3736, allocations: 62.23 kB / 0.5224 GB, free: 32.22 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.792e-05/0.3737, allocations: 0 / 0.5224 GB, free: 32.22 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.3738, allocations: 31.06 kB / 0.5224 GB, free: 32.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005298/0.3744, allocations: 17.5 kB / 0.5224 GB, free: 32.21 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005755/0.3749, allocations: 208.3 kB / 0.5226 GB, free: 32.03 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001707/0.3751, allocations: 0.6904 MB / 0.5233 GB, free: 31.33 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.74e-05/0.3752, allocations: 13.16 kB / 0.5233 GB, free: 31.32 MB / 378.7 MB Notification: Performance of SimCode: time 7.21e-07/0.3753, allocations: 3 kB / 0.5233 GB, free: 31.32 MB / 378.7 MB Notification: Performance of Templates: time 0.006043/0.3813, allocations: 1.915 MB / 0.5252 GB, free: 31.09 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches