Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.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.Test4,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.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,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.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001331/0.00133, allocations: 198 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.285/1.285, allocations: 226.5 MB / 243.4 MB, free: 6.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007714/0.0007713, allocations: 100.3 kB / 295.5 MB, free: 6.668 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.338/0.338, allocations: 44.83 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002658/0.0002659, allocations: 8 kB / 465.3 MB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3332, allocations: 62.95 MB / 0.5159 GB, free: 37.33 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.001638/0.3349, allocations: 1.337 MB / 0.5172 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007072/0.3356, allocations: 0.4967 MB / 0.5177 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.092e-05/0.3357, allocations: 3.938 kB / 0.5177 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002658/0.3359, allocations: 93.78 kB / 0.5178 GB, free: 36 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002002/0.3362, allocations: 91.62 kB / 0.5178 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/0.3364, allocations: 81.12 kB / 0.5179 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.3365, allocations: 86.69 kB / 0.518 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.3366, allocations: 26.25 kB / 0.518 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.165e-05/0.3367, allocations: 36.98 kB / 0.5181 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.662e-05/0.3368, allocations: 51.19 kB / 0.5181 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.3368, allocations: 0 / 0.5181 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.847e-05/0.3369, allocations: 38.88 kB / 0.5182 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.253e-05/0.337, allocations: 23.31 kB / 0.5182 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.694e-05/0.337, allocations: 66.38 kB / 0.5182 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.3371, allocations: 85.14 kB / 0.5183 GB, free: 35.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.3371, allocations: 0 / 0.5183 GB, free: 35.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3372, allocations: 4 kB / 0.5183 GB, free: 35.74 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.3372, allocations: 0 / 0.5183 GB, free: 35.74 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003876/0.3376, allocations: 419.2 kB / 0.5187 GB, free: 35.33 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.3376, allocations: 8.875 kB / 0.5187 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.406e-05/0.3376, allocations: 14.38 kB / 0.5187 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.3378, allocations: 205.8 kB / 0.5189 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.3378, allocations: 3.25 kB / 0.5189 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.3378, allocations: 10.92 kB / 0.519 GB, free: 35.1 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.338, allocations: 72.67 kB / 0.519 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.338, allocations: 9.984 kB / 0.519 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.338, allocations: 0 / 0.519 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.338, allocations: 3.938 kB / 0.519 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.3382, allocations: 42.27 kB / 0.5191 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003315/0.3385, allocations: 337.1 kB / 0.5194 GB, free: 34.72 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.3386, allocations: 65.64 kB / 0.5195 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.953e-05/0.3387, allocations: 27.75 kB / 0.5195 GB, free: 34.67 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.3387, allocations: 0 / 0.5195 GB, free: 34.67 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.3387, allocations: 34.56 kB / 0.5195 GB, free: 34.63 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.3387, allocations: 0 / 0.5195 GB, free: 34.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008882/0.3396, allocations: 340.9 kB / 0.5198 GB, free: 34.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.3397, allocations: 54.12 kB / 0.5199 GB, free: 34.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.3398, allocations: 240.1 kB / 0.5201 GB, free: 34.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.3398, allocations: 29.7 kB / 0.5202 GB, free: 34.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.143e-05/0.3399, allocations: 115.9 kB / 0.5203 GB, free: 34.15 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.3399, allocations: 44.48 kB / 0.5203 GB, free: 34.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.3399, allocations: 0 / 0.5203 GB, free: 34.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.295e-05/0.34, allocations: 329.5 kB / 0.5206 GB, free: 33.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.26e-05/0.3401, allocations: 35.42 kB / 0.5207 GB, free: 33.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.185e-05/0.3402, allocations: 42.42 kB / 0.5207 GB, free: 33.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.3403, allocations: 94.16 kB / 0.5208 GB, free: 33.74 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3403, allocations: 0 / 0.5208 GB, free: 33.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002107/0.3406, allocations: 155.3 kB / 0.5209 GB, free: 33.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.3406, allocations: 7.656 kB / 0.5209 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3406, allocations: 0 / 0.5209 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.3406, allocations: 6.594 kB / 0.5209 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.3407, allocations: 26.27 kB / 0.521 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.3407, allocations: 3.234 kB / 0.521 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.303e-05/0.3408, allocations: 9.812 kB / 0.521 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.3408, allocations: 6.969 kB / 0.521 GB, free: 33.65 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 7.747e-05/0.3409, allocations: 132.7 kB / 0.5211 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.093e-05/0.3409, allocations: 16.08 kB / 0.5211 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002828/0.3412, allocations: 170.9 kB / 0.5213 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.3412, allocations: 7.875 kB / 0.5213 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3412, allocations: 0 / 0.5213 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3412, allocations: 3.234 kB / 0.5213 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004641/0.3417, allocations: 486.1 kB / 0.5218 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3417, allocations: 0 / 0.5218 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.086e-05/0.3418, allocations: 30.03 kB / 0.5218 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3418, allocations: 0 / 0.5218 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.3418, allocations: 7.062 kB / 0.5218 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.3418, allocations: 0 / 0.5218 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3418, allocations: 0 / 0.5218 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.3421, allocations: 256.1 kB / 0.522 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.996e-05/0.3421, allocations: 97.8 kB / 0.5221 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.3421, allocations: 0 / 0.5221 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.106e-05/0.3422, allocations: 17.81 kB / 0.5222 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.3423, allocations: 9.344 kB / 0.5222 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.3423, allocations: 6.125 kB / 0.5222 GB, free: 32.74 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001075/0.3424, allocations: 179.3 kB / 0.5223 GB, free: 32.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3424, allocations: 0 / 0.5223 GB, free: 32.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002328/0.3426, allocations: 25.12 kB / 0.5224 GB, free: 32.64 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.0008737/0.3435, allocations: 462.4 kB / 0.5228 GB, free: 32.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002282/0.3438, allocations: 105.7 kB / 0.5229 GB, free: 32.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3438, allocations: 4 kB / 0.5229 GB, free: 32.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.363e-05/0.3439, allocations: 58.38 kB / 0.523 GB, free: 32.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.3442, allocations: 24.95 kB / 0.523 GB, free: 32.33 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000488/0.3447, allocations: 370.4 kB / 0.5233 GB, free: 32.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001492/0.3449, allocations: 0.7202 MB / 0.5241 GB, free: 31.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.154e-05/0.3449, allocations: 26.55 kB / 0.5241 GB, free: 31.36 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3449, allocations: 0 / 0.5241 GB, free: 31.36 MB / 378.7 MB Notification: Performance of Templates: time 0.003029/0.3479, allocations: 2.025 MB / 0.5261 GB, free: 31.14 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches