Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002252/0.002251, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.021/2.021, allocations: 205.2 MB / 219.4 MB, free: 14.28 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 94.62 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.65e-05/2.666e-05, allocations: 4 kB / 321.5 MB, free: 17.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08984/0.08988, allocations: 47.57 MB / 369.1 MB, free: 2.211 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3869/0.4768, allocations: 76.99 MB / 446.1 MB, free: 176 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/0.4772, allocations: 74.67 kB / 446.1 MB, free: 136 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01129/0.4885, allocations: 2.566 MB / 448.7 MB, free: 13.95 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4885, allocations: 7.938 kB / 448.7 MB, free: 13.95 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.46e-05/0.4886, allocations: 3.984 kB / 448.7 MB, free: 13.94 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005582/0.4891, allocations: 383.1 kB / 449.1 MB, free: 13.53 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.4892, allocations: 12.03 kB / 449.1 MB, free: 13.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002484/0.4894, allocations: 27.8 kB / 449.1 MB, free: 13.49 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.4897, allocations: 190.8 kB / 449.3 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.4897, allocations: 4.188 kB / 449.3 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.964e-05/0.4898, allocations: 15.77 kB / 449.3 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002468/0.49, allocations: 93.73 kB / 449.4 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.4901, allocations: 0 / 449.4 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.4901, allocations: 3.562 kB / 449.4 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.4901, allocations: 4 kB / 449.4 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001993/0.4903, allocations: 66.36 kB / 449.5 MB, free: 13.13 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000927/0.4913, allocations: 450.4 kB / 449.9 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003852/0.4917, allocations: 102.2 kB / 450 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.562e-05/0.4918, allocations: 32.36 kB / 450.1 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.4918, allocations: 0 / 450.1 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.4918, allocations: 30.56 kB / 450.1 MB, free: 12.54 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.4918, allocations: 0 / 450.1 MB, free: 12.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008026/0.4927, allocations: 368.6 kB / 450.5 MB, free: 12.17 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.4927, allocations: 67.3 kB / 450.5 MB, free: 12.09 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.4929, allocations: 109.7 kB / 450.6 MB, free: 11.98 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.4929, allocations: 29.7 kB / 450.7 MB, free: 11.95 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.87e-05/0.493, allocations: 170.7 kB / 450.8 MB, free: 11.79 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.199e-05/0.4931, allocations: 47.11 kB / 450.9 MB, free: 11.75 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.057e-05/0.4931, allocations: 3.875 kB / 450.9 MB, free: 11.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.4932, allocations: 318.3 kB / 451.2 MB, free: 11.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.243e-05/0.4933, allocations: 27.62 kB / 451.2 MB, free: 11.41 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.4934, allocations: 55.06 kB / 451.3 MB, free: 11.36 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.4935, allocations: 31.78 kB / 451.3 MB, free: 11.34 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.4936, allocations: 4 kB / 451.3 MB, free: 11.33 MB / 330.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003/0.4939, allocations: 128.6 kB / 451.4 MB, free: 11.23 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.4939, allocations: 4 kB / 451.4 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.4939, allocations: 0 / 451.4 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.4939, allocations: 4.062 kB / 451.4 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002645/0.4942, allocations: 31.98 kB / 451.5 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.4942, allocations: 7.938 kB / 451.5 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.4944, allocations: 11.88 kB / 451.5 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.4944, allocations: 4 kB / 451.5 MB, free: 11.17 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.571e-05/0.4945, allocations: 120.7 kB / 451.6 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.4946, allocations: 7.906 kB / 451.6 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.467e-05/0.4946, allocations: 12.19 kB / 451.6 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.4946, allocations: 4 kB / 451.6 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.4947, allocations: 4 kB / 451.6 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.4947, allocations: 0 / 451.6 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000795/0.4955, allocations: 426.4 kB / 452.1 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/0.4955, allocations: 8 kB / 452.1 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000312/0.4958, allocations: 23.98 kB / 452.1 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/0.4959, allocations: 4 kB / 452.1 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.4959, allocations: 4.062 kB / 452.1 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.074e-06/0.4959, allocations: 3.953 kB / 452.1 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.4959, allocations: 4 kB / 452.1 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004427/0.4964, allocations: 274.3 kB / 452.4 MB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.941e-05/0.4965, allocations: 92.97 kB / 452.5 MB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.4965, allocations: 0 / 452.5 MB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.4967, allocations: 7.812 kB / 452.5 MB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.4967, allocations: 8.031 kB / 452.5 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.4967, allocations: 4 kB / 452.5 MB, free: 10.16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.06e-05/0.4968, allocations: 95.59 kB / 452.6 MB, free: 10.07 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4968, allocations: 4 kB / 452.6 MB, free: 10.07 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003501/0.4972, allocations: 27.61 kB / 452.6 MB, free: 10.04 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mass.s,mass.v,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0001698/0.4974, allocations: 103.3 kB / 452.7 MB, free: 9.934 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002584/0.4976, allocations: 79.3 kB / 452.8 MB, free: 9.875 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4977, allocations: 0 / 452.8 MB, free: 9.875 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.572e-05/0.4978, allocations: 39.25 kB / 452.8 MB, free: 9.848 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.4981, allocations: 16.2 kB / 452.8 MB, free: 9.836 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009681/0.4991, allocations: 392.2 kB / 453.2 MB, free: 9.434 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.4995, allocations: 0.7082 MB / 453.9 MB, free: 8.699 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.47e-05/0.4995, allocations: 15.44 kB / 453.9 MB, free: 8.684 MB / 330.7 MB Notification: Performance of SimCode: time 9.61e-07/0.4996, allocations: 0 / 453.9 MB, free: 8.684 MB / 330.7 MB Notification: Performance of Templates: time 0.004145/0.5037, allocations: 1.359 MB / 455.3 MB, free: 7.34 MB / 330.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches