Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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_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_ModelicaTest.Translational.TestBraking") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001404/0.001405, allocations: 204 kB / 8.54 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.276/1.276, allocations: 225.5 MB / 234.4 MB, free: 3.297 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001042/0.001042, allocations: 95.94 kB / 286.3 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2017/0.2017, allocations: 45.14 MB / 383.3 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.193e-06/7.334e-06, allocations: 0 / 452.6 MB, free: 76.19 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1212, allocations: 63.24 MB / 0.5038 GB, free: 13.03 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3301/0.4513, allocations: 91.41 MB / 0.593 GB, free: 11.49 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001575/0.4516, allocations: 65.66 kB / 0.5931 GB, free: 11.46 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02299/0.4746, allocations: 8.126 MB / 0.601 GB, free: 4.82 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.563e-05/0.4746, allocations: 11.98 kB / 0.601 GB, free: 4.809 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.000941/0.4756, allocations: 0.5934 MB / 0.6016 GB, free: 4.195 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.4756, allocations: 8.031 kB / 0.6016 GB, free: 4.188 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003066/0.4759, allocations: 75.41 kB / 0.6017 GB, free: 4.113 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003547/0.4763, allocations: 276.5 kB / 0.602 GB, free: 3.824 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.118e-05/0.4763, allocations: 15.94 kB / 0.602 GB, free: 3.809 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.734e-05/0.4764, allocations: 31.2 kB / 0.602 GB, free: 3.781 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000378/0.4768, allocations: 201.6 kB / 0.6022 GB, free: 3.648 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004715/0.4773, allocations: 299.4 kB / 0.6025 GB, free: 3.398 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.677e-05/0.4773, allocations: 11.91 kB / 0.6025 GB, free: 3.387 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.676e-05/0.4773, allocations: 3.984 kB / 0.6025 GB, free: 3.383 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.4773, allocations: 8 kB / 0.6025 GB, free: 3.375 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001976/0.4793, allocations: 1.448 MB / 0.6039 GB, free: 2.023 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004575/0.4798, allocations: 321.4 kB / 0.6042 GB, free: 1.746 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/0.48, allocations: 113.4 kB / 0.6043 GB, free: 1.645 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.075e-05/0.48, allocations: 11.92 kB / 0.6043 GB, free: 1.633 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.48, allocations: 45.62 kB / 0.6044 GB, free: 1.586 MB / 394.7 MB Notification: Performance of pre-optimization done (n=43): time 1.773e-06/0.48, allocations: 0 / 0.6044 GB, free: 1.586 MB / 394.7 MB Notification: Performance of matching and sorting (n=48): time 0.001924/0.482, allocations: 1.615 MB / 0.606 GB, free: 15.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.937e-05/0.4821, allocations: 191.5 kB / 0.6061 GB, free: 15.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.4823, allocations: 196.4 kB / 0.6063 GB, free: 15.44 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.603e-05/0.4823, allocations: 29.7 kB / 0.6064 GB, free: 15.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.629e-05/0.4824, allocations: 177.8 kB / 0.6065 GB, free: 15.24 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.4825, allocations: 178.6 kB / 0.6067 GB, free: 15.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.563e-05/0.4825, allocations: 0 / 0.6067 GB, free: 15.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.4827, allocations: 347.7 kB / 0.607 GB, free: 14.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.4829, allocations: 95.44 kB / 0.6071 GB, free: 14.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002998/0.4832, allocations: 270.9 kB / 0.6074 GB, free: 14.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002237/0.4834, allocations: 142.5 kB / 0.6075 GB, free: 14.31 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.4834, allocations: 4 kB / 0.6075 GB, free: 14.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006249/0.484, allocations: 415.9 kB / 0.6079 GB, free: 13.97 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.4841, allocations: 4.438 kB / 0.6079 GB, free: 13.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.4841, allocations: 8 kB / 0.6079 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.4841, allocations: 12 kB / 0.6079 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005272/0.4846, allocations: 147.2 kB / 0.6081 GB, free: 13.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.306e-05/0.4847, allocations: 15.92 kB / 0.6081 GB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002497/0.4849, allocations: 15.91 kB / 0.6081 GB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.372e-05/0.485, allocations: 23.75 kB / 0.6081 GB, free: 13.76 MB / 410.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 () * 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 9.912e-05/0.4851, allocations: 112.8 kB / 0.6082 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/0.4852, allocations: 39.62 kB / 0.6083 GB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002159/0.4854, allocations: 118.4 kB / 0.6084 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.4855, allocations: 11.91 kB / 0.6084 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.4855, allocations: 0 / 0.6084 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.4855, allocations: 7.984 kB / 0.6084 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001691/0.4872, allocations: 1.135 MB / 0.6095 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.4872, allocations: 7.984 kB / 0.6095 GB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005825/0.4878, allocations: 115.1 kB / 0.6096 GB, free: 12.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.299e-05/0.4878, allocations: 11.98 kB / 0.6097 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.838e-05/0.4879, allocations: 8 kB / 0.6097 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.716e-06/0.4879, allocations: 12.55 kB / 0.6097 GB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.4879, allocations: 8 kB / 0.6097 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008856/0.4888, allocations: 1.112 MB / 0.6108 GB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.122e-05/0.4889, allocations: 104.9 kB / 0.6109 GB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.986e-05/0.4889, allocations: 11.98 kB / 0.6109 GB, free: 11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004059/0.4893, allocations: 11.91 kB / 0.6109 GB, free: 10.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.496e-05/0.4894, allocations: 43.02 kB / 0.6109 GB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.432e-05/0.4895, allocations: 15.25 kB / 0.6109 GB, free: 10.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001144/0.4896, allocations: 153.8 kB / 0.6111 GB, free: 10.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000633/0.4902, allocations: 84.5 kB / 0.6112 GB, free: 10.73 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 13 (mass6.s,mass6.v,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 () * 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.0001286/0.4903, allocations: 111 kB / 0.6113 GB, free: 10.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004758/0.4908, allocations: 303.6 kB / 0.6116 GB, free: 10.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.4908, allocations: 0 / 0.6116 GB, free: 10.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002001/0.491, allocations: 155.2 kB / 0.6117 GB, free: 10.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006618/0.4917, allocations: 72.42 kB / 0.6118 GB, free: 10.22 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002142/0.4939, allocations: 1.296 MB / 0.613 GB, free: 8.914 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005397/0.4944, allocations: 0.8606 MB / 0.6139 GB, free: 8.035 MB / 410.7 MB Notification: Performance of SimCode: time 4.11e-07/0.4944, allocations: 4 kB / 0.6139 GB, free: 8.031 MB / 410.7 MB Notification: Performance of Templates: time 0.007688/0.5021, allocations: 3.826 MB / 0.6176 GB, free: 4.25 MB / 410.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_trunk_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches