Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test6.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.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001797/0.001797, allocations: 199.8 kB / 16.1 MB, free: 5.699 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.268/1.268, allocations: 226.6 MB / 243.4 MB, free: 8.086 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008964/0.0008964, allocations: 91.5 kB / 295.5 MB, free: 6.867 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3524/0.3524, allocations: 44.82 MB / 392.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002645/0.0002645, allocations: 8 kB / 465.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3594, allocations: 62.95 MB / 0.5159 GB, free: 37.15 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.002042/0.3615, allocations: 1.342 MB / 0.5172 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008769/0.3624, allocations: 0.5119 MB / 0.5177 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.688e-05/0.3624, allocations: 2.5 kB / 0.5177 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002957/0.3627, allocations: 86.19 kB / 0.5178 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002223/0.363, allocations: 103.9 kB / 0.5179 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002847/0.3633, allocations: 95.44 kB / 0.518 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.3634, allocations: 76.89 kB / 0.518 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.3636, allocations: 35.19 kB / 0.5181 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.292e-05/0.3636, allocations: 35.97 kB / 0.5181 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.46e-05/0.3637, allocations: 51.84 kB / 0.5181 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.3637, allocations: 0 / 0.5181 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.92e-05/0.3638, allocations: 36.83 kB / 0.5182 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.358e-05/0.3639, allocations: 22.73 kB / 0.5182 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.542e-05/0.3639, allocations: 65.58 kB / 0.5183 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.3641, allocations: 94.25 kB / 0.5184 GB, free: 35.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3641, allocations: 6.969 kB / 0.5184 GB, free: 35.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3641, allocations: 0 / 0.5184 GB, free: 35.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.3641, allocations: 0 / 0.5184 GB, free: 35.54 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004234/0.3645, allocations: 414.4 kB / 0.5188 GB, free: 35.13 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.3646, allocations: 8.938 kB / 0.5188 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.3646, allocations: 18.7 kB / 0.5188 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.3648, allocations: 211.1 kB / 0.519 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.3649, allocations: 7.25 kB / 0.519 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.3649, allocations: 18.42 kB / 0.519 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.3651, allocations: 78.66 kB / 0.5191 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.3651, allocations: 0 / 0.5191 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.3651, allocations: 6.875 kB / 0.5191 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.3651, allocations: 0 / 0.5191 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.3652, allocations: 45.06 kB / 0.5191 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003844/0.3656, allocations: 346.6 kB / 0.5195 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.3657, allocations: 64.2 kB / 0.5195 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.334e-05/0.3658, allocations: 28.64 kB / 0.5196 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.3658, allocations: 6.906 kB / 0.5196 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.3659, allocations: 34.56 kB / 0.5196 GB, free: 34.42 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.3659, allocations: 0 / 0.5196 GB, free: 34.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.001018/0.3669, allocations: 357.9 kB / 0.5199 GB, free: 34.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.3669, allocations: 58.44 kB / 0.52 GB, free: 34.22 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.3671, allocations: 241.8 kB / 0.5202 GB, free: 34.08 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.3671, allocations: 25.7 kB / 0.5202 GB, free: 34.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.775e-05/0.3672, allocations: 112.9 kB / 0.5204 GB, free: 33.94 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.3672, allocations: 44.66 kB / 0.5204 GB, free: 33.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-06/0.3672, allocations: 0 / 0.5204 GB, free: 33.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.358e-05/0.3673, allocations: 331 kB / 0.5207 GB, free: 33.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.385e-05/0.3674, allocations: 48.81 kB / 0.5208 GB, free: 33.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.74e-05/0.3675, allocations: 51.59 kB / 0.5208 GB, free: 33.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001878/0.3677, allocations: 113.8 kB / 0.5209 GB, free: 33.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3677, allocations: 4 kB / 0.5209 GB, free: 33.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002498/0.368, allocations: 163.6 kB / 0.5211 GB, free: 33.44 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.368, allocations: 8.188 kB / 0.5211 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.368, allocations: 2.844 kB / 0.5211 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.368, allocations: 7.938 kB / 0.5211 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.3682, allocations: 30.89 kB / 0.5211 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.3682, allocations: 4 kB / 0.5211 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.763e-05/0.3682, allocations: 13.08 kB / 0.5211 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.3682, allocations: 2.875 kB / 0.5211 GB, free: 33.42 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 (13): * Single equations (assignments): 13 * 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 0.0001113/0.3684, allocations: 131.5 kB / 0.5213 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.318e-05/0.3684, allocations: 13.44 kB / 0.5213 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003722/0.3688, allocations: 205.4 kB / 0.5215 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3688, allocations: 0 / 0.5215 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.3688, allocations: 0 / 0.5215 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3688, allocations: 0 / 0.5215 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005874/0.3694, allocations: 0.5089 MB / 0.522 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3694, allocations: 0 / 0.522 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.361e-05/0.3695, allocations: 30.39 kB / 0.522 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3695, allocations: 2.844 kB / 0.522 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.3695, allocations: 3.938 kB / 0.522 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.3695, allocations: 7 kB / 0.522 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.3695, allocations: 3.938 kB / 0.522 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000284/0.3698, allocations: 265.3 kB / 0.5223 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.821e-05/0.3699, allocations: 95.08 kB / 0.5224 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.3699, allocations: 6.781 kB / 0.5224 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.37, allocations: 8.938 kB / 0.5224 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.523e-05/0.3701, allocations: 10.81 kB / 0.5224 GB, free: 32.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.3701, allocations: 7.25 kB / 0.5224 GB, free: 32.49 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001259/0.3702, allocations: 180.5 kB / 0.5226 GB, free: 32.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3702, allocations: 0 / 0.5226 GB, free: 32.39 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002444/0.3705, allocations: 25.47 kB / 0.5226 GB, free: 32.38 MB / 378.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.0009338/0.3714, allocations: 462 kB / 0.523 GB, free: 32.15 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002567/0.3717, allocations: 118.5 kB / 0.5231 GB, free: 32.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3717, allocations: 0 / 0.5231 GB, free: 32.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.3718, allocations: 73.19 kB / 0.5232 GB, free: 32.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.3722, allocations: 15 kB / 0.5232 GB, free: 32.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005027/0.3727, allocations: 390.8 kB / 0.5236 GB, free: 31.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001462/0.3728, allocations: 0.7245 MB / 0.5243 GB, free: 31.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.98e-05/0.3729, allocations: 20.52 kB / 0.5243 GB, free: 31.11 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3729, allocations: 0 / 0.5243 GB, free: 31.11 MB / 378.7 MB Notification: Performance of Templates: time 0.003347/0.3762, allocations: 2.13 MB / 0.5264 GB, free: 30.89 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test6 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches