Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.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) 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(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001652/0.001652, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.697/1.697, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009318/0.0009321, allocations: 99.59 kB / 286.7 MB, free: 5.301 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.974e-05/1.977e-05, allocations: 4 kB / 343.7 MB, free: 8.273 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1241, allocations: 51.48 MB / 395.2 MB, free: 4.758 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4457/0.5699, allocations: 78.62 MB / 473.8 MB, free: 13.2 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/0.5702, allocations: 73.23 kB / 473.9 MB, free: 13.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008369/0.5786, allocations: 2.995 MB / 476.8 MB, free: 11.39 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.191e-06/0.5786, allocations: 1.312 kB / 476.9 MB, free: 11.39 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.022e-05/0.5787, allocations: 4 kB / 476.9 MB, free: 11.39 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007285/0.5794, allocations: 414.9 kB / 477.3 MB, free: 10.97 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.5795, allocations: 8.031 kB / 477.3 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002135/0.5797, allocations: 24.59 kB / 477.3 MB, free: 10.94 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.5799, allocations: 197.7 kB / 477.5 MB, free: 10.72 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.58, allocations: 4.859 kB / 477.5 MB, free: 10.72 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.704e-05/0.58, allocations: 8 kB / 477.5 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002023/0.5802, allocations: 59.92 kB / 477.6 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.5804, allocations: 86.66 kB / 477.6 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.5804, allocations: 11.53 kB / 477.7 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.5805, allocations: 0 / 477.7 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.5805, allocations: 4 kB / 477.7 MB, free: 10.6 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008514/0.5813, allocations: 462.5 kB / 478.1 MB, free: 10.22 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002827/0.5816, allocations: 99.12 kB / 478.2 MB, free: 10.15 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.647e-05/0.5817, allocations: 34.98 kB / 478.2 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.885e-05/0.5817, allocations: 3.469 kB / 478.2 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.5818, allocations: 36.25 kB / 478.3 MB, free: 10.08 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 4.298e-06/0.5818, allocations: 3.984 kB / 478.3 MB, free: 10.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007063/0.5825, allocations: 380.7 kB / 478.7 MB, free: 9.711 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.5825, allocations: 55.41 kB / 478.7 MB, free: 9.645 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.5826, allocations: 116.3 kB / 478.8 MB, free: 9.531 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.5827, allocations: 25.7 kB / 478.8 MB, free: 9.5 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.157e-05/0.5827, allocations: 116.6 kB / 479 MB, free: 9.398 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.459e-05/0.5828, allocations: 38.83 kB / 479 MB, free: 9.367 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.835e-06/0.5828, allocations: 4 kB / 479 MB, free: 9.363 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.409e-05/0.5829, allocations: 324.9 kB / 479.3 MB, free: 9.047 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.674e-05/0.583, allocations: 26.06 kB / 479.3 MB, free: 9.031 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.5831, allocations: 57.73 kB / 479.4 MB, free: 8.98 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.416e-05/0.5832, allocations: 35.89 kB / 479.4 MB, free: 8.965 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5832, allocations: 7.938 kB / 479.4 MB, free: 8.957 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001985/0.5834, allocations: 134.5 kB / 479.6 MB, free: 8.848 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.5834, allocations: 4 kB / 479.6 MB, free: 8.844 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.5834, allocations: 0 / 479.6 MB, free: 8.844 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.5835, allocations: 4 kB / 479.6 MB, free: 8.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.5837, allocations: 41.81 kB / 479.6 MB, free: 8.809 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.5837, allocations: 3.953 kB / 479.6 MB, free: 8.805 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.5838, allocations: 15.25 kB / 479.6 MB, free: 8.793 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.5838, allocations: 4 kB / 479.6 MB, free: 8.789 MB / 346.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 (18): * Single equations (assignments): 18 * 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 7.543e-05/0.5839, allocations: 110.6 kB / 479.8 MB, free: 8.676 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.5839, allocations: 7.906 kB / 479.8 MB, free: 8.668 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.798e-05/0.584, allocations: 19.73 kB / 479.8 MB, free: 8.664 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.584, allocations: 0 / 479.8 MB, free: 8.664 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.584, allocations: 0 / 479.8 MB, free: 8.664 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.584, allocations: 3.953 kB / 479.8 MB, free: 8.66 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004939/0.5845, allocations: 400.9 kB / 480.2 MB, free: 8.297 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.5846, allocations: 4 kB / 480.2 MB, free: 8.293 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/0.5848, allocations: 44.44 kB / 480.2 MB, free: 8.258 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.5848, allocations: 0 / 480.2 MB, free: 8.258 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.5848, allocations: 5.734 kB / 480.2 MB, free: 8.254 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.5848, allocations: 0 / 480.2 MB, free: 8.254 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.5848, allocations: 9.812 kB / 480.2 MB, free: 8.246 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002812/0.5851, allocations: 277.1 kB / 480.5 MB, free: 7.988 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.402e-05/0.5852, allocations: 92.81 kB / 480.6 MB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.5852, allocations: 0 / 480.6 MB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.5853, allocations: 15.33 kB / 480.6 MB, free: 7.871 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.674e-05/0.5854, allocations: 10.16 kB / 480.6 MB, free: 7.867 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.5854, allocations: 10.38 kB / 480.6 MB, free: 7.859 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.845e-05/0.5855, allocations: 103.6 kB / 480.7 MB, free: 7.773 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5855, allocations: 0 / 480.7 MB, free: 7.773 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002628/0.5857, allocations: 24 kB / 480.8 MB, free: 7.75 MB / 346.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 (13): * Single equations (assignments): 13 * 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.000127/0.5859, allocations: 101 kB / 480.9 MB, free: 7.641 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001808/0.586, allocations: 79.31 kB / 480.9 MB, free: 7.586 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.5861, allocations: 0 / 480.9 MB, free: 7.586 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.21e-05/0.5861, allocations: 40.16 kB / 481 MB, free: 7.559 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.5864, allocations: 18.61 kB / 481 MB, free: 7.547 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007289/0.5872, allocations: 363.5 kB / 481.3 MB, free: 7.219 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001895/0.5874, allocations: 0.7178 MB / 482.1 MB, free: 6.492 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.464e-05/0.5875, allocations: 11.78 kB / 482.1 MB, free: 6.484 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.724e-05/0.5875, allocations: 15.44 kB / 482.1 MB, free: 6.469 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5875, allocations: 1.875 kB / 482.1 MB, free: 6.469 MB / 346.7 MB Notification: Performance of Templates: time 0.003975/0.5915, allocations: 1.151 MB / 483.2 MB, free: 5.684 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,mass.s,heatCapacitor.T,eddyCurrentForce.lossPower Variables in the result:eddyCurrentForce.T,eddyCurrentForce.TRef,eddyCurrentForce.alpha20,eddyCurrentForce.constantExcitation,eddyCurrentForce.f_nominal,eddyCurrentForce.lossPower,eddyCurrentForce.useExcitationInput,eddyCurrentForce.v_nominal,heatCapacitor.C,heatCapacitor.T,mass.L,mass.m,mass.s,mass.stateSelect,ramp.duration,ramp.height,ramp.offset,ramp.startTime,time