Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_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_trunk_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002652/0.002652, allocations: 198.8 kB / 18.07 MB, free: 3.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 3.111/3.111, allocations: 226.5 MB / 245.3 MB, free: 6.527 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001455/0.001455, allocations: 101.3 kB / 297.4 MB, free: 6.723 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004763/0.0004768, allocations: 7.984 kB / 357.4 MB, free: 10.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5955/0.5961, allocations: 51.29 MB / 408.7 MB, free: 27.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.205/0.8012, allocations: 78.73 MB / 487.4 MB, free: 12.91 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004284/0.8017, allocations: 71.97 kB / 487.5 MB, free: 12.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01201/0.8138, allocations: 2.676 MB / 490.1 MB, free: 10.17 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.608e-06/0.8139, allocations: 0 / 490.1 MB, free: 10.17 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.445e-05/0.8139, allocations: 7.984 kB / 490.1 MB, free: 10.16 MB / 362.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.0008056/0.8147, allocations: 399.6 kB / 490.5 MB, free: 9.719 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.352e-05/0.8148, allocations: 8.031 kB / 490.5 MB, free: 9.711 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003535/0.8152, allocations: 28.83 kB / 490.6 MB, free: 9.684 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003237/0.8155, allocations: 192.2 kB / 490.8 MB, free: 9.457 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.8156, allocations: 4.562 kB / 490.8 MB, free: 9.453 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.655e-05/0.8156, allocations: 16.28 kB / 490.8 MB, free: 9.438 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003349/0.816, allocations: 101.3 kB / 490.9 MB, free: 9.336 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.816, allocations: 0 / 490.9 MB, free: 9.336 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.612e-05/0.8161, allocations: 4 kB / 490.9 MB, free: 9.332 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.8161, allocations: 0 / 490.9 MB, free: 9.332 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002324/0.8163, allocations: 67.95 kB / 490.9 MB, free: 9.266 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/0.8175, allocations: 447.5 kB / 491.4 MB, free: 8.773 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004722/0.818, allocations: 94.64 kB / 491.5 MB, free: 8.672 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/0.8182, allocations: 40.84 kB / 491.5 MB, free: 8.629 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.8183, allocations: 0 / 491.5 MB, free: 8.629 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.784e-05/0.8183, allocations: 34.5 kB / 491.5 MB, free: 8.586 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.784e-06/0.8183, allocations: 0 / 491.5 MB, free: 8.586 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.002275/0.8206, allocations: 0.5317 MB / 492.1 MB, free: 7.984 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.959e-05/0.8207, allocations: 55.39 kB / 492.1 MB, free: 7.918 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.8209, allocations: 122 kB / 492.3 MB, free: 7.785 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.8209, allocations: 29.7 kB / 492.3 MB, free: 7.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.8211, allocations: 107.9 kB / 492.4 MB, free: 7.641 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.497e-05/0.8211, allocations: 43.36 kB / 492.4 MB, free: 7.598 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.254e-05/0.8212, allocations: 4 kB / 492.4 MB, free: 7.594 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003065/0.8215, allocations: 322.8 kB / 492.7 MB, free: 7.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.842e-05/0.8216, allocations: 27.98 kB / 492.8 MB, free: 7.242 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.8217, allocations: 55.42 kB / 492.8 MB, free: 7.176 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002424/0.822, allocations: 96.14 kB / 492.9 MB, free: 7.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.822, allocations: 0 / 492.9 MB, free: 7.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003597/0.8224, allocations: 138.2 kB / 493.1 MB, free: 6.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.032e-05/0.8224, allocations: 8 kB / 493.1 MB, free: 6.922 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.8225, allocations: 0 / 493.1 MB, free: 6.922 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.8225, allocations: 4.031 kB / 493.1 MB, free: 6.918 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.8227, allocations: 32.05 kB / 493.1 MB, free: 6.887 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.8227, allocations: 4 kB / 493.1 MB, free: 6.883 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.8229, allocations: 15.98 kB / 493.1 MB, free: 6.867 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.8229, allocations: 7.938 kB / 493.1 MB, free: 6.859 MB / 362.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 () * Number of clocked 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.0001754/0.8231, allocations: 121.8 kB / 493.2 MB, free: 6.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.549e-05/0.8232, allocations: 7.906 kB / 493.3 MB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.768e-05/0.8232, allocations: 16.38 kB / 493.3 MB, free: 6.707 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.8233, allocations: 0 / 493.3 MB, free: 6.707 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.8233, allocations: 0 / 493.3 MB, free: 6.707 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.8233, allocations: 7.984 kB / 493.3 MB, free: 6.699 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.8244, allocations: 424.1 kB / 493.7 MB, free: 6.223 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.8244, allocations: 0 / 493.7 MB, free: 6.223 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002411/0.8246, allocations: 27.98 kB / 493.7 MB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.8246, allocations: 0 / 493.7 MB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/0.8247, allocations: 7.938 kB / 493.7 MB, free: 6.188 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.8247, allocations: 4.062 kB / 493.7 MB, free: 6.184 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.8247, allocations: 0 / 493.7 MB, free: 6.184 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004856/0.8252, allocations: 261 kB / 494 MB, free: 5.906 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.8253, allocations: 85.02 kB / 494.1 MB, free: 5.805 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.842e-05/0.8254, allocations: 3.938 kB / 494.1 MB, free: 5.801 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.8255, allocations: 8.094 kB / 494.1 MB, free: 5.793 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.8256, allocations: 15.92 kB / 494.1 MB, free: 5.777 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.8256, allocations: 4 kB / 494.1 MB, free: 5.773 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.888e-05/0.8257, allocations: 91.27 kB / 494.2 MB, free: 5.684 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.8257, allocations: 0 / 494.2 MB, free: 5.684 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004808/0.8262, allocations: 28 kB / 494.2 MB, free: 5.656 MB / 362.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 () * Number of clocked 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.00023/0.8265, allocations: 103.2 kB / 494.3 MB, free: 5.547 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002849/0.8268, allocations: 83.91 kB / 494.4 MB, free: 5.465 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.8268, allocations: 0 / 494.4 MB, free: 5.465 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.57e-05/0.8269, allocations: 39.92 kB / 494.4 MB, free: 5.426 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006252/0.8275, allocations: 14.41 kB / 494.5 MB, free: 5.414 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.829, allocations: 0.5794 MB / 495 MB, free: 4.793 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005294/0.8296, allocations: 0.7004 MB / 495.7 MB, free: 4.066 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.108e-05/0.8296, allocations: 15.44 kB / 495.7 MB, free: 4.051 MB / 362.7 MB Notification: Performance of SimCode: time 8.72e-07/0.8296, allocations: 4 kB / 495.8 MB, free: 4.047 MB / 362.7 MB Notification: Performance of Templates: time 0.004764/0.8344, allocations: 1.405 MB / 497.2 MB, free: 2.648 MB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","../files/Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches