Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001293/0.001293, allocations: 203.8 kB / 16.1 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.604/1.604, allocations: 226.5 MB / 243.4 MB, free: 6.484 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008197/0.0008197, allocations: 99.94 kB / 295.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4177/0.4177, allocations: 44.81 MB / 392.3 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003882/0.0003883, allocations: 8 kB / 465.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3999/0.4003, allocations: 62.95 MB / 0.5159 GB, free: 37.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002667/0.403, allocations: 1.288 MB / 0.5171 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002338/0.4054, allocations: 1.079 MB / 0.5182 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.172e-05/0.4055, allocations: 2.844 kB / 0.5182 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002592/0.4058, allocations: 21.02 kB / 0.5182 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003506/0.4061, allocations: 71.84 kB / 0.5183 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003779/0.4065, allocations: 74.58 kB / 0.5183 GB, free: 35.44 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.4067, allocations: 59.56 kB / 0.5184 GB, free: 35.41 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.4068, allocations: 17.31 kB / 0.5184 GB, free: 35.4 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.345e-05/0.4069, allocations: 20.69 kB / 0.5184 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001764/0.4071, allocations: 37.66 kB / 0.5185 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.4072, allocations: 3.938 kB / 0.5185 GB, free: 35.37 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002154/0.4074, allocations: 76.95 kB / 0.5186 GB, free: 35.35 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.008e-05/0.4075, allocations: 14.06 kB / 0.5186 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.421e-05/0.4075, allocations: 50.41 kB / 0.5186 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002345/0.4078, allocations: 93.31 kB / 0.5187 GB, free: 35.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.4078, allocations: 7 kB / 0.5187 GB, free: 35.26 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4078, allocations: 0 / 0.5187 GB, free: 35.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.4078, allocations: 0 / 0.5187 GB, free: 35.26 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.0005243/0.4084, allocations: 389.3 kB / 0.5191 GB, free: 34.87 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.4084, allocations: 15.84 kB / 0.5191 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.74e-05/0.4085, allocations: 7.688 kB / 0.5191 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.4087, allocations: 191.3 kB / 0.5193 GB, free: 34.65 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.4088, allocations: 384 / 0.5193 GB, free: 34.65 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.675e-05/0.4088, allocations: 7.219 kB / 0.5193 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.409, allocations: 68.61 kB / 0.5194 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.4091, allocations: 0 / 0.5194 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.4091, allocations: 0 / 0.5194 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.4091, allocations: 2.875 kB / 0.5194 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.4093, allocations: 30.25 kB / 0.5194 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003867/0.4097, allocations: 279.2 kB / 0.5197 GB, free: 34.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002599/0.4099, allocations: 45.41 kB / 0.5197 GB, free: 34.26 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.112e-05/0.41, allocations: 17.53 kB / 0.5197 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.4101, allocations: 4 kB / 0.5197 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.4101, allocations: 38.5 kB / 0.5198 GB, free: 34.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.994e-06/0.4101, allocations: 0 / 0.5198 GB, free: 34.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008478/0.411, allocations: 155.5 kB / 0.5199 GB, free: 34.13 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.411, allocations: 81.05 kB / 0.52 GB, free: 34.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.4112, allocations: 147.3 kB / 0.5201 GB, free: 33.92 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.4113, allocations: 25.7 kB / 0.5201 GB, free: 33.89 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.397e-05/0.4113, allocations: 98.89 kB / 0.5202 GB, free: 33.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.4114, allocations: 22.69 kB / 0.5203 GB, free: 33.78 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-06/0.4114, allocations: 0 / 0.5203 GB, free: 33.78 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.684e-05/0.4115, allocations: 328.9 kB / 0.5206 GB, free: 33.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.4116, allocations: 17.56 kB / 0.5206 GB, free: 33.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.4117, allocations: 35.7 kB / 0.5206 GB, free: 33.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002269/0.412, allocations: 55.23 kB / 0.5207 GB, free: 33.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.412, allocations: 0 / 0.5207 GB, free: 33.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003111/0.4123, allocations: 90.75 kB / 0.5208 GB, free: 33.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.4124, allocations: 5.625 kB / 0.5208 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.4124, allocations: 4 kB / 0.5208 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.4124, allocations: 0 / 0.5208 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.4125, allocations: 18.12 kB / 0.5208 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.4126, allocations: 7.922 kB / 0.5208 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.453e-05/0.4126, allocations: 9.281 kB / 0.5208 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.4127, allocations: 6.812 kB / 0.5208 GB, free: 33.34 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 8.136e-05/0.4128, allocations: 112.5 kB / 0.5209 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.763e-05/0.4128, allocations: 6.594 kB / 0.5209 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003384/0.4132, allocations: 101.7 kB / 0.521 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.4132, allocations: 2.875 kB / 0.521 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.4132, allocations: 0 / 0.521 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.4132, allocations: 0 / 0.521 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005568/0.4138, allocations: 357.8 kB / 0.5214 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.4138, allocations: 0 / 0.5214 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.4139, allocations: 19.31 kB / 0.5214 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.414, allocations: 0 / 0.5214 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.414, allocations: 7.062 kB / 0.5214 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.414, allocations: 7.938 kB / 0.5214 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.414, allocations: 0 / 0.5214 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.4143, allocations: 185.2 kB / 0.5216 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.176e-05/0.4144, allocations: 84.81 kB / 0.5217 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/0.4144, allocations: 6.969 kB / 0.5217 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.4146, allocations: 11.06 kB / 0.5217 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.357e-05/0.4146, allocations: 6.344 kB / 0.5217 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.4147, allocations: 3.188 kB / 0.5217 GB, free: 32.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001184/0.4148, allocations: 113.5 kB / 0.5218 GB, free: 32.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4148, allocations: 3.938 kB / 0.5218 GB, free: 32.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004771/0.4153, allocations: 34.72 kB / 0.5218 GB, free: 32.47 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.001598/0.4169, allocations: 486.2 kB / 0.5223 GB, free: 32.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003119/0.4172, allocations: 57.22 kB / 0.5224 GB, free: 32.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.4173, allocations: 0 / 0.5224 GB, free: 32.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.4174, allocations: 33.88 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.0004906/0.4179, allocations: 16.33 kB / 0.5224 GB, free: 32.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004762/0.4184, allocations: 205.7 kB / 0.5226 GB, free: 32.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/0.4186, allocations: 0.6907 MB / 0.5233 GB, free: 31.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.585e-05/0.4187, allocations: 23.38 kB / 0.5233 GB, free: 31.31 MB / 378.7 MB Notification: Performance of SimCode: time 4.31e-07/0.4187, allocations: 4 kB / 0.5233 GB, free: 31.3 MB / 378.7 MB Notification: Performance of Templates: time 0.005242/0.424, allocations: 1.909 MB / 0.5252 GB, free: 31.08 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches