Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Translational.TestBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009352/0.0009352, allocations: 183 kB / 18.09 MB, free: 3.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 223.3 MB / 242.1 MB, free: 9.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008173/0.0008176, allocations: 94.19 kB / 293.3 MB, free: 10.59 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3441/0.3441, allocations: 44.14 MB / 388.5 MB, free: 38.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004155/0.0004156, allocations: 16 kB / 461.1 MB, free: 1.355 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.337, allocations: 61.87 MB / 0.5107 GB, free: 37.89 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1179/0.455, allocations: 90.47 MB / 0.5991 GB, free: 4.641 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/0.4552, allocations: 71.95 kB / 0.5991 GB, free: 4.574 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01913/0.4744, allocations: 6.681 MB / 0.6057 GB, free: 13.87 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.965e-06/0.4744, allocations: 0 / 0.6057 GB, free: 13.87 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.665e-05/0.4745, allocations: 8 kB / 0.6057 GB, free: 13.86 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.000985/0.4755, allocations: 0.5578 MB / 0.6062 GB, free: 13.25 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.4755, allocations: 12.03 kB / 0.6062 GB, free: 13.24 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002786/0.4758, allocations: 48.55 kB / 0.6063 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/0.4762, allocations: 268.4 kB / 0.6065 GB, free: 12.89 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.111e-05/0.4762, allocations: 25.03 kB / 0.6065 GB, free: 12.87 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.112e-05/0.4763, allocations: 36.3 kB / 0.6066 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004983/0.4768, allocations: 299 kB / 0.6069 GB, free: 12.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.973e-05/0.4768, allocations: 11.91 kB / 0.6069 GB, free: 12.51 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.641e-05/0.4769, allocations: 8 kB / 0.6069 GB, free: 12.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.4769, allocations: 8 kB / 0.6069 GB, free: 12.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000362/0.4773, allocations: 213 kB / 0.6071 GB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001819/0.4791, allocations: 1.283 MB / 0.6083 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005052/0.4796, allocations: 333.3 kB / 0.6087 GB, free: 10.54 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.4798, allocations: 100.3 kB / 0.6088 GB, free: 10.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.4798, allocations: 7.938 kB / 0.6088 GB, free: 10.42 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.4799, allocations: 46.55 kB / 0.6088 GB, free: 10.37 MB / 426.7 MB Notification: Performance of pre-optimization done (n=36): time 2.034e-06/0.4799, allocations: 0 / 0.6088 GB, free: 10.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=40): time 0.002393/0.4823, allocations: 1.578 MB / 0.6104 GB, free: 8.578 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.215e-05/0.4823, allocations: 166.2 kB / 0.6105 GB, free: 8.379 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002261/0.4826, allocations: 217 kB / 0.6107 GB, free: 8.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.4826, allocations: 33.64 kB / 0.6107 GB, free: 8.121 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.4827, allocations: 180.2 kB / 0.6109 GB, free: 7.941 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.4829, allocations: 145.8 kB / 0.6111 GB, free: 7.797 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.986e-05/0.4829, allocations: 15.94 kB / 0.6111 GB, free: 7.781 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.483, allocations: 350.7 kB / 0.6114 GB, free: 7.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.4832, allocations: 93.08 kB / 0.6115 GB, free: 7.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.4835, allocations: 235.6 kB / 0.6117 GB, free: 7.047 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004703/0.4839, allocations: 378.5 kB / 0.6121 GB, free: 6.613 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.484, allocations: 0 / 0.6121 GB, free: 6.613 MB / 426.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006008/0.4846, allocations: 400.8 kB / 0.6125 GB, free: 6.215 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.4846, allocations: 8.375 kB / 0.6125 GB, free: 6.207 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.4846, allocations: 11.94 kB / 0.6125 GB, free: 6.195 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.4846, allocations: 8 kB / 0.6125 GB, free: 6.188 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000374/0.485, allocations: 119.8 kB / 0.6126 GB, free: 6.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/0.485, allocations: 11.94 kB / 0.6126 GB, free: 6.059 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001989/0.4852, allocations: 16 kB / 0.6126 GB, free: 6.043 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/0.4853, allocations: 23.94 kB / 0.6127 GB, free: 6.02 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (62): * Single equations (assignments): 62 * 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.0001489/0.4854, allocations: 161.6 kB / 0.6128 GB, free: 5.852 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.4856, allocations: 31.62 kB / 0.6128 GB, free: 5.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002231/0.4858, allocations: 115.4 kB / 0.613 GB, free: 5.699 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.4858, allocations: 4 kB / 0.613 GB, free: 5.695 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.4858, allocations: 15.86 kB / 0.613 GB, free: 5.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.4858, allocations: 0 / 0.613 GB, free: 5.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001463/0.4873, allocations: 1.026 MB / 0.614 GB, free: 4.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.044e-06/0.4873, allocations: 8.125 kB / 0.614 GB, free: 4.562 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004519/0.4878, allocations: 100.1 kB / 0.6141 GB, free: 4.465 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.397e-06/0.4878, allocations: 8.422 kB / 0.6141 GB, free: 4.457 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.383e-05/0.4878, allocations: 12 kB / 0.6141 GB, free: 4.445 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/0.4879, allocations: 7.938 kB / 0.6141 GB, free: 4.438 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.4879, allocations: 4 kB / 0.6141 GB, free: 4.434 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007872/0.4887, allocations: 0.8295 MB / 0.6149 GB, free: 3.555 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.677e-05/0.4887, allocations: 104.7 kB / 0.615 GB, free: 3.434 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.312e-05/0.4888, allocations: 16 kB / 0.615 GB, free: 3.418 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002909/0.4891, allocations: 11.98 kB / 0.615 GB, free: 3.406 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.093e-05/0.4892, allocations: 35.84 kB / 0.6151 GB, free: 3.371 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.4892, allocations: 16 kB / 0.6151 GB, free: 3.355 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000135/0.4893, allocations: 152.5 kB / 0.6152 GB, free: 3.203 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4893, allocations: 0 / 0.6152 GB, free: 3.203 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005258/0.4899, allocations: 88 kB / 0.6153 GB, free: 3.117 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 11 (mass5.s,mass5.v,heatCapacitor.T,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 (41): * Single equations (assignments): 41 * 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.0001368/0.49, allocations: 112.1 kB / 0.6154 GB, free: 3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004374/0.4904, allocations: 280.7 kB / 0.6157 GB, free: 2.727 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4905, allocations: 0 / 0.6157 GB, free: 2.727 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001825/0.4906, allocations: 135.9 kB / 0.6158 GB, free: 2.594 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008682/0.4915, allocations: 64.53 kB / 0.6159 GB, free: 2.531 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.4935, allocations: 1.518 MB / 0.6174 GB, free: 0.9531 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.4939, allocations: 0.7845 MB / 0.6181 GB, free: 144 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001834/0.4941, allocations: 38.94 kB / 0.6182 GB, free: 108 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.514e-05/0.4942, allocations: 27.44 kB / 0.6182 GB, free: 80 kB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4942, allocations: 4 kB / 0.6182 GB, free: 76 kB / 426.7 MB Notification: Performance of Templates: time 0.006357/0.5005, allocations: 2.895 MB / 0.621 GB, free: 13.21 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches