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.002142/0.002141, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.193/2.193, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001144/0.001143, allocations: 88.56 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.349e-05/2.359e-05, allocations: 8 kB / 314.8 MB, free: 9.172 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3447, allocations: 47.57 MB / 362.3 MB, free: 45.86 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1258/0.4706, allocations: 76.34 MB / 438.7 MB, free: 9.992 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003532/0.471, allocations: 71.78 kB / 438.7 MB, free: 9.926 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01568/0.4867, allocations: 2.55 MB / 441.3 MB, free: 7.406 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.4867, allocations: 0 / 441.3 MB, free: 7.406 MB / 331.1 MB Notification: Performance of Transformations before backend: time 1.581e-05/0.4868, allocations: 4 kB / 441.3 MB, free: 7.402 MB / 331.1 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.0005824/0.4874, allocations: 386.5 kB / 441.7 MB, free: 6.98 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.4874, allocations: 12.02 kB / 441.7 MB, free: 6.969 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002473/0.4877, allocations: 27.8 kB / 441.7 MB, free: 6.941 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.4879, allocations: 188 kB / 441.9 MB, free: 6.719 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.488, allocations: 4 kB / 441.9 MB, free: 6.715 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.058e-05/0.488, allocations: 7.953 kB / 441.9 MB, free: 6.707 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002256/0.4883, allocations: 56.36 kB / 442 MB, free: 6.652 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002122/0.4885, allocations: 74.98 kB / 442 MB, free: 6.574 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.4885, allocations: 5.906 kB / 442 MB, free: 6.57 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.4885, allocations: 0 / 442 MB, free: 6.57 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.4886, allocations: 4 kB / 442 MB, free: 6.566 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009782/0.4895, allocations: 412.6 kB / 442.4 MB, free: 6.121 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003604/0.4899, allocations: 96.34 kB / 442.5 MB, free: 6.02 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.721e-05/0.49, allocations: 26.86 kB / 442.6 MB, free: 5.992 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.4901, allocations: 4 kB / 442.6 MB, free: 5.988 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.4901, allocations: 38.55 kB / 442.6 MB, free: 5.941 MB / 331.1 MB Notification: Performance of pre-optimization done (n=11): time 2.224e-06/0.4901, allocations: 0 / 442.6 MB, free: 5.941 MB / 331.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008169/0.4909, allocations: 353 kB / 442.9 MB, free: 5.547 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.491, allocations: 51.41 kB / 443 MB, free: 5.484 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.4911, allocations: 106.3 kB / 443.1 MB, free: 5.371 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.4912, allocations: 25.7 kB / 443.1 MB, free: 5.34 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.4913, allocations: 178.3 kB / 443.3 MB, free: 5.164 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.031e-05/0.4913, allocations: 47.3 kB / 443.3 MB, free: 5.117 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.064e-06/0.4914, allocations: 0 / 443.3 MB, free: 5.117 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.4915, allocations: 322.8 kB / 443.7 MB, free: 4.793 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.806e-05/0.4916, allocations: 20 kB / 443.7 MB, free: 4.773 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.4917, allocations: 58.08 kB / 443.7 MB, free: 4.707 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.4918, allocations: 40.95 kB / 443.8 MB, free: 4.668 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4918, allocations: 0 / 443.8 MB, free: 4.668 MB / 331.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002858/0.4921, allocations: 109.5 kB / 443.9 MB, free: 4.555 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.4922, allocations: 8 kB / 443.9 MB, free: 4.547 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.4922, allocations: 0 / 443.9 MB, free: 4.547 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.4922, allocations: 8.031 kB / 443.9 MB, free: 4.539 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/0.4925, allocations: 27.98 kB / 443.9 MB, free: 4.512 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.4925, allocations: 3.938 kB / 443.9 MB, free: 4.508 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.4926, allocations: 7.938 kB / 443.9 MB, free: 4.5 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.4927, allocations: 5.859 kB / 443.9 MB, free: 4.496 MB / 331.1 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 0.0001019/0.4928, allocations: 112.9 kB / 444.1 MB, free: 4.379 MB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.248e-05/0.4928, allocations: 8.844 kB / 444.1 MB, free: 4.371 MB / 331.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.723e-05/0.4929, allocations: 16.62 kB / 444.1 MB, free: 4.359 MB / 331.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.4929, allocations: 0 / 444.1 MB, free: 4.359 MB / 331.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.4929, allocations: 3.984 kB / 444.1 MB, free: 4.355 MB / 331.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.4929, allocations: 0 / 444.1 MB, free: 4.355 MB / 331.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008049/0.4938, allocations: 392 kB / 444.5 MB, free: 3.926 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.4938, allocations: 0 / 444.5 MB, free: 3.926 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002911/0.4941, allocations: 27.98 kB / 444.5 MB, free: 3.898 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.4941, allocations: 4 kB / 444.5 MB, free: 3.895 MB / 331.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.4941, allocations: 0 / 444.5 MB, free: 3.895 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.4941, allocations: 4 kB / 444.5 MB, free: 3.891 MB / 331.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.4942, allocations: 3.984 kB / 444.5 MB, free: 3.887 MB / 331.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004284/0.4946, allocations: 268.9 kB / 444.8 MB, free: 3.594 MB / 331.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.925e-05/0.4947, allocations: 89.05 kB / 444.9 MB, free: 3.488 MB / 331.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.4947, allocations: 0 / 444.9 MB, free: 3.488 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.4949, allocations: 3.953 kB / 444.9 MB, free: 3.484 MB / 331.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/0.4949, allocations: 7.984 kB / 444.9 MB, free: 3.477 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.495, allocations: 13.5 kB / 444.9 MB, free: 3.465 MB / 331.1 MB Notification: Performance of sorting global known variables: time 7.274e-05/0.495, allocations: 88.66 kB / 445 MB, free: 3.379 MB / 331.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.495, allocations: 0 / 445 MB, free: 3.379 MB / 331.1 MB Notification: Performance of remove unused functions: time 0.0003751/0.4954, allocations: 24 kB / 445 MB, free: 3.355 MB / 331.1 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.0001617/0.4956, allocations: 105.3 kB / 445.1 MB, free: 3.242 MB / 331.1 MB Notification: Performance of simCode: created initialization part: time 0.0002378/0.4959, allocations: 67.94 kB / 445.2 MB, free: 3.176 MB / 331.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4959, allocations: 0 / 445.2 MB, free: 3.176 MB / 331.1 MB Notification: Performance of simCode: created simulation system equations: time 8.99e-05/0.496, allocations: 40.06 kB / 445.2 MB, free: 3.137 MB / 331.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.4963, allocations: 14.05 kB / 445.2 MB, free: 3.125 MB / 331.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009635/0.4973, allocations: 361.9 kB / 445.6 MB, free: 2.746 MB / 331.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.4977, allocations: 0.708 MB / 446.3 MB, free: 2.012 MB / 331.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.682e-05/0.4978, allocations: 15.44 kB / 446.3 MB, free: 1.996 MB / 331.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4978, allocations: 7.875 kB / 446.3 MB, free: 1.988 MB / 331.1 MB Notification: Performance of Templates: time 0.004203/0.502, allocations: 1.356 MB / 447.7 MB, free: 0.6523 MB / 331.1 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