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.001144/0.001144, allocations: 181.8 kB / 17.41 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.662/1.662, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.000716/0.0007159, allocations: 95.36 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003699/0.0003702, allocations: 12 kB / 328.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2356, allocations: 47.58 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09022/0.3258, allocations: 77.13 MB / 452.9 MB, free: 3.496 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001865/0.3261, allocations: 67.97 kB / 452.9 MB, free: 3.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006702/0.3328, allocations: 2.587 MB / 455.5 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3328, allocations: 4 kB / 455.5 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.3329, allocations: 0 / 455.5 MB, free: 0.8242 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.0004692/0.3333, allocations: 391.7 kB / 455.9 MB, free: 400 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.3334, allocations: 12.03 kB / 455.9 MB, free: 388 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001742/0.3336, allocations: 24.83 kB / 455.9 MB, free: 364 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.3338, allocations: 196.1 kB / 456.1 MB, free: 128 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.3338, allocations: 12.5 kB / 456.1 MB, free: 116 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.168e-05/0.3338, allocations: 8.281 kB / 456.1 MB, free: 108 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.334, allocations: 98.52 kB / 456.2 MB, free: 4 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.3341, allocations: 4 kB / 456.2 MB, free: 0 / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.3341, allocations: 8.047 kB / 456.3 MB, free: 15.99 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.3341, allocations: 0 / 456.3 MB, free: 15.99 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.3343, allocations: 67.47 kB / 456.3 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006683/0.3349, allocations: 444.7 kB / 456.8 MB, free: 15.44 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002647/0.3352, allocations: 114.5 kB / 456.9 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.256e-05/0.3353, allocations: 28.86 kB / 456.9 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.3353, allocations: 0 / 456.9 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.3353, allocations: 38.55 kB / 456.9 MB, free: 15.24 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.3354, allocations: 0 / 456.9 MB, free: 15.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.001389/0.3367, allocations: 0.5273 MB / 457.5 MB, free: 14.64 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.3368, allocations: 55.34 kB / 457.5 MB, free: 14.58 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.873e-05/0.3369, allocations: 132.1 kB / 457.6 MB, free: 14.44 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.3369, allocations: 25.7 kB / 457.7 MB, free: 14.41 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.812e-05/0.337, allocations: 108 kB / 457.8 MB, free: 14.3 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.398e-05/0.3371, allocations: 47.3 kB / 457.8 MB, free: 14.25 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-06/0.3371, allocations: 0 / 457.8 MB, free: 14.25 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.3372, allocations: 322.8 kB / 458.1 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.092e-05/0.3372, allocations: 23.98 kB / 458.2 MB, free: 13.9 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.309e-05/0.3373, allocations: 63.42 kB / 458.2 MB, free: 13.83 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.3375, allocations: 91.36 kB / 458.3 MB, free: 13.73 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3375, allocations: 4 kB / 458.3 MB, free: 13.72 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002006/0.3377, allocations: 133.4 kB / 458.4 MB, free: 13.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.3377, allocations: 4 kB / 458.4 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3377, allocations: 4.062 kB / 458.4 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.3377, allocations: 4 kB / 458.5 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.3379, allocations: 31.92 kB / 458.5 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.3379, allocations: 0 / 458.5 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.587e-05/0.338, allocations: 8 kB / 458.5 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.338, allocations: 7.938 kB / 458.5 MB, free: 13.53 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 () * 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 9.562e-05/0.3381, allocations: 121.8 kB / 458.6 MB, free: 13.4 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.22e-05/0.3381, allocations: 15.89 kB / 458.6 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.266e-05/0.3382, allocations: 16.38 kB / 458.7 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3382, allocations: 0 / 458.7 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3382, allocations: 0 / 458.7 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3382, allocations: 4 kB / 458.7 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004871/0.3387, allocations: 420.1 kB / 459.1 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.3387, allocations: 4 kB / 459.1 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.3389, allocations: 27.92 kB / 459.1 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.3389, allocations: 8.062 kB / 459.1 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.3389, allocations: 11.88 kB / 459.1 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3389, allocations: 0 / 459.1 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3389, allocations: 7.984 kB / 459.1 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.3392, allocations: 241.1 kB / 459.4 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.782e-05/0.3392, allocations: 81.02 kB / 459.4 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.3393, allocations: 19.94 kB / 459.5 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.348e-05/0.3393, allocations: 4.031 kB / 459.5 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.97e-05/0.3394, allocations: 4 kB / 459.5 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.3394, allocations: 4 kB / 459.5 MB, free: 12.45 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.969e-05/0.3394, allocations: 95.27 kB / 459.6 MB, free: 12.36 MB / 346.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3394, allocations: 0 / 459.6 MB, free: 12.36 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002448/0.3397, allocations: 28 kB / 459.6 MB, free: 12.33 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 () * 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.0001186/0.3398, allocations: 103.4 kB / 459.7 MB, free: 12.21 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001599/0.34, allocations: 87.78 kB / 459.8 MB, free: 12.13 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.34, allocations: 0 / 459.8 MB, free: 12.13 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.463e-05/0.3401, allocations: 39.92 kB / 459.8 MB, free: 12.09 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/0.3404, allocations: 19.98 kB / 459.8 MB, free: 12.07 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007676/0.3412, allocations: 0.5743 MB / 460.4 MB, free: 11.46 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.3415, allocations: 0.7082 MB / 461.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.691e-05/0.3415, allocations: 15.44 kB / 461.1 MB, free: 10.71 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3416, allocations: 288 / 461.1 MB, free: 10.71 MB / 346.7 MB Notification: Performance of Templates: time 0.002695/0.3443, allocations: 1.396 MB / 462.5 MB, free: 9.32 MB / 346.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