Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Translational.TestBraking.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.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Translational.TestBraking") translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Translational.TestBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009793/0.0009794, allocations: 201.2 kB / 15.8 MB, free: 6.328 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.264/1.264, allocations: 226.6 MB / 243.1 MB, free: 12.57 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007011/0.0007011, allocations: 96.05 kB / 295.1 MB, free: 4.391 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1927/0.1927, allocations: 44.83 MB / 392 MB, free: 11.4 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000243/0.0002431, allocations: 8 kB / 464.7 MB, free: 68.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0921/0.09236, allocations: 62.96 MB / 0.5153 GB, free: 5.133 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.002149/0.09454, allocations: 2.6 MB / 0.5179 GB, free: 2.516 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.09565, allocations: 1.017 MB / 0.5188 GB, free: 1.492 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.09579, allocations: 7.938 kB / 0.5189 GB, free: 1.484 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.09592, allocations: 47.62 kB / 0.5189 GB, free: 1.438 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001389/0.09607, allocations: 99.16 kB / 0.519 GB, free: 1.34 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003571/0.09643, allocations: 143.7 kB / 0.5191 GB, free: 1.199 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002619/0.0967, allocations: 410 kB / 0.5195 GB, free: 0.7969 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.09685, allocations: 98.09 kB / 0.5196 GB, free: 0.6992 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.09697, allocations: 143.4 kB / 0.5198 GB, free: 0.5586 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.09713, allocations: 167.2 kB / 0.5199 GB, free: 404 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.187e-05/0.09717, allocations: 16 kB / 0.5199 GB, free: 388 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.814e-05/0.09728, allocations: 39.98 kB / 0.52 GB, free: 348 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.108e-05/0.09731, allocations: 55.77 kB / 0.52 GB, free: 292 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.895e-05/0.09737, allocations: 97.52 kB / 0.5201 GB, free: 188 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002621/0.09764, allocations: 315.5 kB / 0.5204 GB, free: 15.87 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.09765, allocations: 0 / 0.5204 GB, free: 15.87 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.09766, allocations: 4 kB / 0.5204 GB, free: 15.87 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.09767, allocations: 0 / 0.5204 GB, free: 15.87 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.001011/0.09869, allocations: 0.6315 MB / 0.521 GB, free: 15.19 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.09873, allocations: 8.031 kB / 0.521 GB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002737/0.09901, allocations: 59.52 kB / 0.5211 GB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.09932, allocations: 287.5 kB / 0.5214 GB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.604e-05/0.09936, allocations: 21 kB / 0.5214 GB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.639e-05/0.09943, allocations: 47.91 kB / 0.5214 GB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005413/0.09997, allocations: 367.9 kB / 0.5218 GB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.1, allocations: 3.906 kB / 0.5218 GB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.672e-05/0.1, allocations: 12 kB / 0.5218 GB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.1001, allocations: 12 kB / 0.5218 GB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004377/0.1005, allocations: 248.3 kB / 0.5221 GB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001839/0.1024, allocations: 1.507 MB / 0.5235 GB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006372/0.103, allocations: 419.8 kB / 0.5239 GB, free: 12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002036/0.1032, allocations: 145.2 kB / 0.5241 GB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.1032, allocations: 4 kB / 0.5241 GB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.1033, allocations: 42.5 kB / 0.5241 GB, free: 11.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 2.003e-06/0.1033, allocations: 0 / 0.5241 GB, free: 11.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.002777/0.1061, allocations: 1.968 MB / 0.526 GB, free: 9.559 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.1062, allocations: 187.9 kB / 0.5262 GB, free: 9.332 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.1064, allocations: 246.6 kB / 0.5264 GB, free: 9.078 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.1064, allocations: 37.7 kB / 0.5265 GB, free: 9.035 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.1066, allocations: 200.3 kB / 0.5267 GB, free: 8.836 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.1067, allocations: 181.3 kB / 0.5268 GB, free: 8.656 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.102e-05/0.1067, allocations: 16 kB / 0.5269 GB, free: 8.641 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1068, allocations: 350.8 kB / 0.5272 GB, free: 8.289 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/0.107, allocations: 117.2 kB / 0.5273 GB, free: 8.176 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003171/0.1074, allocations: 292 kB / 0.5276 GB, free: 7.812 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000265/0.1076, allocations: 164 kB / 0.5277 GB, free: 7.652 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1077, allocations: 4 kB / 0.5277 GB, free: 7.648 MB / 362.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007162/0.1084, allocations: 493.4 kB / 0.5282 GB, free: 7.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.1084, allocations: 10.09 kB / 0.5282 GB, free: 7.152 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.1084, allocations: 8 kB / 0.5282 GB, free: 7.145 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.1084, allocations: 8 kB / 0.5282 GB, free: 7.137 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004591/0.1089, allocations: 143.8 kB / 0.5284 GB, free: 6.996 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.523e-05/0.1089, allocations: 15.92 kB / 0.5284 GB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/0.1092, allocations: 27.95 kB / 0.5284 GB, free: 6.953 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.185e-05/0.1092, allocations: 24 kB / 0.5284 GB, free: 6.93 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (74): * Single equations (assignments): 74 * 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.000153/0.1094, allocations: 169.7 kB / 0.5286 GB, free: 6.754 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.1095, allocations: 39.52 kB / 0.5286 GB, free: 6.715 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002083/0.1097, allocations: 123.3 kB / 0.5288 GB, free: 6.586 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.1097, allocations: 8 kB / 0.5288 GB, free: 6.578 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.1098, allocations: 3.984 kB / 0.5288 GB, free: 6.574 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.1098, allocations: 0 / 0.5288 GB, free: 6.574 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001719/0.1115, allocations: 1.253 MB / 0.53 GB, free: 5.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.1115, allocations: 8.234 kB / 0.53 GB, free: 5.223 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004938/0.112, allocations: 116 kB / 0.5301 GB, free: 5.109 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.112, allocations: 8 kB / 0.5301 GB, free: 5.102 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.165e-05/0.1121, allocations: 23.92 kB / 0.5301 GB, free: 5.078 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.169e-06/0.1121, allocations: 8.5 kB / 0.5301 GB, free: 5.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.649e-05/0.1121, allocations: 11.94 kB / 0.5302 GB, free: 5.059 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009284/0.113, allocations: 0.9973 MB / 0.5311 GB, free: 4.004 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.7e-05/0.1131, allocations: 108.7 kB / 0.5312 GB, free: 3.879 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.622e-05/0.1132, allocations: 19.98 kB / 0.5313 GB, free: 3.859 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003465/0.1135, allocations: 16 kB / 0.5313 GB, free: 3.844 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.375e-05/0.1136, allocations: 47.84 kB / 0.5313 GB, free: 3.797 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.1136, allocations: 16 kB / 0.5313 GB, free: 3.781 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001417/0.1138, allocations: 174 kB / 0.5315 GB, free: 3.613 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1138, allocations: 0 / 0.5315 GB, free: 3.613 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005455/0.1143, allocations: 96 kB / 0.5316 GB, free: 3.52 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 13 (mass5.s,mass5.v,heatCapacitor.T,mass6.s,mass6.v,mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * 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 (49): * Single equations (assignments): 49 * 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.0001154/0.1144, allocations: 119.1 kB / 0.5317 GB, free: 3.395 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005501/0.115, allocations: 346.5 kB / 0.532 GB, free: 3.055 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.115, allocations: 0 / 0.532 GB, free: 3.055 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002581/0.1153, allocations: 173.2 kB / 0.5322 GB, free: 2.887 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008745/0.1162, allocations: 76.25 kB / 0.5323 GB, free: 2.816 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002155/0.1183, allocations: 1.808 MB / 0.534 GB, free: 0.9258 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.1187, allocations: 0.8122 MB / 0.5348 GB, free: 84 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.938e-05/0.1188, allocations: 35.44 kB / 0.5349 GB, free: 48 kB / 362.7 MB Notification: Performance of SimCode: time 3.51e-07/0.1188, allocations: 0 / 0.5349 GB, free: 48 kB / 362.7 MB Notification: Performance of Templates: time 0.005831/0.1247, allocations: 4.605 MB / 0.5394 GB, free: 11.46 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Translational.TestBraking.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Translational.TestBraking --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Translational.TestBraking.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches