Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.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.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000993/0.000993, allocations: 196.6 kB / 16.1 MB, free: 5.488 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 226.6 MB / 243.4 MB, free: 13.95 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007349/0.0007349, allocations: 102.6 kB / 295.5 MB, free: 9.906 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1919/0.1919, allocations: 44.83 MB / 392.3 MB, free: 9.18 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003086/0.0003088, allocations: 15.98 kB / 465.3 MB, free: 49.43 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1178, allocations: 62.96 MB / 0.5159 GB, free: 2.441 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.001948/0.1198, allocations: 1.346 MB / 0.5172 GB, free: 1.078 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.2254/0.3452, allocations: 1.11 MB / 0.5183 GB, free: 10.13 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.899e-05/0.3454, allocations: 4.094 kB / 0.5183 GB, free: 10.13 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002242/0.3456, allocations: 25.48 kB / 0.5183 GB, free: 10.13 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000301/0.3459, allocations: 65.88 kB / 0.5184 GB, free: 10.13 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004571/0.3464, allocations: 156.5 kB / 0.5185 GB, free: 10.12 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000153/0.3465, allocations: 68.28 kB / 0.5186 GB, free: 10.12 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.3466, allocations: 20.48 kB / 0.5186 GB, free: 10.12 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.989e-05/0.3467, allocations: 22.7 kB / 0.5186 GB, free: 10.12 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.3468, allocations: 37.7 kB / 0.5187 GB, free: 10.12 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.3469, allocations: 2.312 kB / 0.5187 GB, free: 10.12 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001837/0.3471, allocations: 82.22 kB / 0.5187 GB, free: 10.12 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.743e-05/0.3471, allocations: 17.67 kB / 0.5188 GB, free: 10.11 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.768e-05/0.3472, allocations: 53.12 kB / 0.5188 GB, free: 10.07 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002103/0.3474, allocations: 102.9 kB / 0.5189 GB, free: 10.06 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3474, allocations: 0.5312 kB / 0.5189 GB, free: 10.06 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3474, allocations: 0 / 0.5189 GB, free: 10.06 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.838e-06/0.3474, allocations: 0.5312 kB / 0.5189 GB, free: 10.06 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004142/0.3478, allocations: 407.7 kB / 0.5193 GB, free: 9.672 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.3479, allocations: 10.12 kB / 0.5193 GB, free: 9.672 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.3479, allocations: 10.39 kB / 0.5193 GB, free: 9.668 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.3481, allocations: 194.8 kB / 0.5195 GB, free: 9.461 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.3481, allocations: 2.688 kB / 0.5195 GB, free: 9.461 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.3481, allocations: 3.859 kB / 0.5195 GB, free: 9.461 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.3483, allocations: 89.3 kB / 0.5196 GB, free: 9.402 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.3483, allocations: 1.344 kB / 0.5196 GB, free: 9.402 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.3484, allocations: 1.438 kB / 0.5196 GB, free: 9.402 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.3484, allocations: 1.359 kB / 0.5196 GB, free: 9.402 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.3485, allocations: 45.69 kB / 0.5196 GB, free: 9.402 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003788/0.3489, allocations: 310 kB / 0.5199 GB, free: 9.133 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.349, allocations: 58.03 kB / 0.52 GB, free: 9.102 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.817e-05/0.3491, allocations: 36.34 kB / 0.52 GB, free: 9.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.3492, allocations: 0 / 0.52 GB, free: 9.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.71e-05/0.3492, allocations: 35.38 kB / 0.5201 GB, free: 9.051 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.3492, allocations: 1.031 kB / 0.5201 GB, free: 9.051 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008282/0.35, allocations: 260 kB / 0.5203 GB, free: 8.996 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.3501, allocations: 79.08 kB / 0.5204 GB, free: 8.902 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.3502, allocations: 154.2 kB / 0.5205 GB, free: 8.797 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.3502, allocations: 28.58 kB / 0.5206 GB, free: 8.766 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.397e-05/0.3503, allocations: 94.73 kB / 0.5207 GB, free: 8.684 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.3503, allocations: 24.88 kB / 0.5207 GB, free: 8.668 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-06/0.3503, allocations: 4 kB / 0.5207 GB, free: 8.664 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.795e-05/0.3504, allocations: 323 kB / 0.521 GB, free: 8.348 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.3505, allocations: 44.86 kB / 0.521 GB, free: 8.348 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.3506, allocations: 65.47 kB / 0.5211 GB, free: 8.328 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/0.3509, allocations: 107.2 kB / 0.5212 GB, free: 8.312 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.3509, allocations: 0 / 0.5212 GB, free: 8.312 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003011/0.3512, allocations: 138.5 kB / 0.5213 GB, free: 8.273 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.3512, allocations: 6.5 kB / 0.5213 GB, free: 8.273 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.3512, allocations: 0 / 0.5213 GB, free: 8.273 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.3513, allocations: 1.438 kB / 0.5213 GB, free: 8.273 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.3514, allocations: 23.3 kB / 0.5214 GB, free: 8.273 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.3514, allocations: 0.5469 kB / 0.5214 GB, free: 8.273 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.198e-05/0.3515, allocations: 20.47 kB / 0.5214 GB, free: 8.266 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.3515, allocations: 5.922 kB / 0.5214 GB, free: 8.266 MB / 346.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 (7): * Single equations (assignments): 7 * 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 7.144e-05/0.3516, allocations: 120.4 kB / 0.5215 GB, free: 8.148 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.33e-05/0.3516, allocations: 11.06 kB / 0.5215 GB, free: 8.145 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003582/0.352, allocations: 157.7 kB / 0.5217 GB, free: 8.102 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.352, allocations: 1.453 kB / 0.5217 GB, free: 8.102 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.352, allocations: 0 / 0.5217 GB, free: 8.102 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.352, allocations: 5.641 kB / 0.5217 GB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004952/0.3525, allocations: 428.7 kB / 0.5221 GB, free: 7.797 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3525, allocations: 0 / 0.5221 GB, free: 7.797 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.5e-05/0.3526, allocations: 26.83 kB / 0.5221 GB, free: 7.793 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.3526, allocations: 1.656 kB / 0.5221 GB, free: 7.793 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.3526, allocations: 9.609 kB / 0.5221 GB, free: 7.785 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3526, allocations: 0 / 0.5221 GB, free: 7.785 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3526, allocations: 0.9688 kB / 0.5221 GB, free: 7.785 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003096/0.353, allocations: 240.3 kB / 0.5223 GB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.585e-05/0.353, allocations: 93.56 kB / 0.5224 GB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.353, allocations: 4.906 kB / 0.5224 GB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.418e-05/0.3531, allocations: 19.91 kB / 0.5225 GB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.063e-05/0.3532, allocations: 13.34 kB / 0.5225 GB, free: 7.535 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.3532, allocations: 2.812 kB / 0.5225 GB, free: 7.535 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.821e-05/0.3533, allocations: 114.2 kB / 0.5226 GB, free: 7.461 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3533, allocations: 1.344 kB / 0.5226 GB, free: 7.461 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003025/0.3536, allocations: 45.7 kB / 0.5226 GB, free: 7.449 MB / 346.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 (7): * Single equations (assignments): 7 * 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.0009549/0.3546, allocations: 481.1 kB / 0.5231 GB, free: 7.227 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003097/0.3549, allocations: 110.1 kB / 0.5232 GB, free: 7.219 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3549, allocations: 0 / 0.5232 GB, free: 7.219 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.355, allocations: 56.11 kB / 0.5232 GB, free: 7.215 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.3553, allocations: 22.36 kB / 0.5233 GB, free: 7.215 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003863/0.3557, allocations: 234.8 kB / 0.5235 GB, free: 7.043 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.3558, allocations: 0.7008 MB / 0.5242 GB, free: 6.344 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.823e-05/0.3559, allocations: 16.19 kB / 0.5242 GB, free: 6.336 MB / 346.7 MB Notification: Performance of SimCode: time 1.042e-06/0.3559, allocations: 0 / 0.5242 GB, free: 6.336 MB / 346.7 MB Notification: Performance of Templates: time 0.004431/0.3604, allocations: 2.153 MB / 0.5263 GB, free: 6.098 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches