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.002074/0.002074, allocations: 196.5 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.713/1.713, allocations: 225.4 MB / 240.1 MB, free: 15.06 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008907/0.0008907, allocations: 92.94 kB / 292.1 MB, free: 6 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.052e-05/6.054e-05, allocations: 11.98 kB / 350.5 MB, free: 2.516 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1495, allocations: 51.49 MB / 402 MB, free: 14.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.408/0.5575, allocations: 79.29 MB / 481.3 MB, free: 10.13 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/0.5579, allocations: 72.72 kB / 481.4 MB, free: 10.1 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007814/0.5657, allocations: 3.009 MB / 484.4 MB, free: 7.59 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.5658, allocations: 0 / 484.4 MB, free: 7.59 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.5658, allocations: 7.984 kB / 484.4 MB, free: 7.582 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.0004617/0.5662, allocations: 411.7 kB / 484.8 MB, free: 7.148 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.5663, allocations: 8.031 kB / 484.8 MB, free: 7.141 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001705/0.5665, allocations: 32.02 kB / 484.8 MB, free: 7.113 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.5667, allocations: 197.8 kB / 485 MB, free: 6.887 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.5667, allocations: 4.859 kB / 485 MB, free: 6.883 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.271e-05/0.5667, allocations: 11.56 kB / 485.1 MB, free: 6.875 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.5669, allocations: 99.62 kB / 485.1 MB, free: 6.801 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.5669, allocations: 3.906 kB / 485.2 MB, free: 6.797 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.567, allocations: 3.625 kB / 485.2 MB, free: 6.797 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.567, allocations: 4 kB / 485.2 MB, free: 6.793 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.5671, allocations: 73.36 kB / 485.2 MB, free: 6.742 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006982/0.5678, allocations: 0.4917 MB / 485.7 MB, free: 6.266 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002431/0.5681, allocations: 109.3 kB / 485.8 MB, free: 6.176 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.542e-05/0.5681, allocations: 34.73 kB / 485.9 MB, free: 6.148 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.5682, allocations: 3.25 kB / 485.9 MB, free: 6.148 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.428e-05/0.5682, allocations: 34.66 kB / 485.9 MB, free: 6.105 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 2.314e-06/0.5682, allocations: 0 / 485.9 MB, free: 6.105 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005603/0.5687, allocations: 398.2 kB / 486.3 MB, free: 5.715 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.177e-05/0.5688, allocations: 55.41 kB / 486.3 MB, free: 5.648 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.675e-05/0.5689, allocations: 126.7 kB / 486.5 MB, free: 5.527 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.5689, allocations: 25.7 kB / 486.5 MB, free: 5.496 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.587e-05/0.5689, allocations: 115.1 kB / 486.6 MB, free: 5.391 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.569, allocations: 42.97 kB / 486.6 MB, free: 5.352 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-06/0.569, allocations: 4.594 kB / 486.7 MB, free: 5.352 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.194e-05/0.569, allocations: 326.5 kB / 487 MB, free: 5.027 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.221e-05/0.5691, allocations: 38.66 kB / 487 MB, free: 5.004 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.594e-05/0.5692, allocations: 59.67 kB / 487.1 MB, free: 4.945 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.615e-05/0.5692, allocations: 46.55 kB / 487.1 MB, free: 4.914 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.5692, allocations: 0 / 487.1 MB, free: 4.914 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001712/0.5694, allocations: 134.7 kB / 487.2 MB, free: 4.801 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.5694, allocations: 12 kB / 487.3 MB, free: 4.789 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.5694, allocations: 1.406 kB / 487.3 MB, free: 4.789 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.5695, allocations: 7.953 kB / 487.3 MB, free: 4.781 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.5696, allocations: 39.55 kB / 487.3 MB, free: 4.746 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.5697, allocations: 1.594 kB / 487.3 MB, free: 4.746 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.69e-05/0.5698, allocations: 11.98 kB / 487.3 MB, free: 4.734 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.5698, allocations: 7.688 kB / 487.3 MB, free: 4.73 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 5.022e-05/0.5698, allocations: 116.6 kB / 487.4 MB, free: 4.613 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.5699, allocations: 7.906 kB / 487.4 MB, free: 4.605 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.89e-05/0.5699, allocations: 20.05 kB / 487.5 MB, free: 4.594 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.5699, allocations: 0 / 487.5 MB, free: 4.594 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.5699, allocations: 3.953 kB / 487.5 MB, free: 4.59 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.5699, allocations: 4 kB / 487.5 MB, free: 4.586 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004277/0.5704, allocations: 447.2 kB / 487.9 MB, free: 4.141 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.5704, allocations: 4.875 kB / 487.9 MB, free: 4.137 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.5706, allocations: 39.92 kB / 488 MB, free: 4.098 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.5706, allocations: 3.953 kB / 488 MB, free: 4.094 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.5706, allocations: 7.375 kB / 488 MB, free: 4.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.5706, allocations: 0 / 488 MB, free: 4.09 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5706, allocations: 0 / 488 MB, free: 4.09 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.5709, allocations: 300 kB / 488.3 MB, free: 3.809 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.87e-05/0.5709, allocations: 91.34 kB / 488.3 MB, free: 3.703 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.5709, allocations: 11.56 kB / 488.4 MB, free: 3.695 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.5711, allocations: 7.984 kB / 488.4 MB, free: 3.688 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/0.5711, allocations: 15.19 kB / 488.4 MB, free: 3.676 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-06/0.5711, allocations: 3.984 kB / 488.4 MB, free: 3.672 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.791e-05/0.5712, allocations: 99.33 kB / 488.5 MB, free: 3.582 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5712, allocations: 0 / 488.5 MB, free: 3.582 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002206/0.5714, allocations: 31.56 kB / 488.5 MB, free: 3.555 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.0001127/0.5715, allocations: 102.9 kB / 488.6 MB, free: 3.449 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001557/0.5717, allocations: 80.88 kB / 488.7 MB, free: 3.391 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.5717, allocations: 4 kB / 488.7 MB, free: 3.387 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.317e-05/0.5718, allocations: 45 kB / 488.7 MB, free: 3.355 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.572, allocations: 32.81 kB / 488.8 MB, free: 3.332 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005478/0.5726, allocations: 359.5 kB / 489.1 MB, free: 2.98 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001311/0.5727, allocations: 0.716 MB / 489.8 MB, free: 2.238 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.763e-05/0.5728, allocations: 8.766 kB / 489.8 MB, free: 2.23 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.568e-05/0.5728, allocations: 19.44 kB / 489.9 MB, free: 2.211 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5728, allocations: 0 / 489.9 MB, free: 2.211 MB / 346.7 MB Notification: Performance of Templates: time 0.003118/0.5759, allocations: 1.223 MB / 491.1 MB, free: 1.051 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