Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 180.2 kB / 16.38 MB, free: 5.758 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 223.2 MB / 240.3 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008635/0.0008635, allocations: 98.97 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002931/0.0002931, allocations: 7.938 kB / 351.1 MB, free: 15.1 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3051, allocations: 50.4 MB / 401.5 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09553/0.4007, allocations: 77.98 MB / 479.5 MB, free: 2.48 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002036/0.4009, allocations: 91.81 kB / 479.6 MB, free: 2.391 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006787/0.4077, allocations: 2.611 MB / 482.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4078, allocations: 0 / 482.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.4078, allocations: 8 kB / 482.2 MB, free: 15.77 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.0004193/0.4082, allocations: 387.6 kB / 482.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.4082, allocations: 8.031 kB / 482.6 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001785/0.4084, allocations: 27.84 kB / 482.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.4086, allocations: 198.7 kB / 482.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.4086, allocations: 8.188 kB / 482.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.725e-05/0.4087, allocations: 12 kB / 482.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.4088, allocations: 94.09 kB / 482.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.4089, allocations: 0 / 482.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.4089, allocations: 8 kB / 482.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.4089, allocations: 7.953 kB / 482.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.409, allocations: 60.53 kB / 483 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006214/0.4097, allocations: 448.4 kB / 483.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002462/0.4099, allocations: 106.6 kB / 483.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.4099, allocations: 0 / 483.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.41, allocations: 34.56 kB / 483.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.41, allocations: 0 / 483.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.001354/0.4113, allocations: 0.531 MB / 484.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.4114, allocations: 51.41 kB / 484.1 MB, free: 13.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.903e-05/0.4115, allocations: 120.2 kB / 484.2 MB, free: 13.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.4115, allocations: 25.7 kB / 484.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.392e-05/0.4115, allocations: 111.7 kB / 484.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.4116, allocations: 47.28 kB / 484.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.083e-06/0.4116, allocations: 4 kB / 484.4 MB, free: 13.24 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.307e-05/0.4117, allocations: 322.8 kB / 484.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.26e-05/0.4117, allocations: 24 kB / 484.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.369e-05/0.4118, allocations: 61.84 kB / 484.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.681e-05/0.4119, allocations: 52.05 kB / 484.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.4119, allocations: 0 / 484.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001817/0.4121, allocations: 125.5 kB / 485 MB, free: 12.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.4121, allocations: 4 kB / 485 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.4121, allocations: 4 kB / 485 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.4121, allocations: 0 / 485 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.4123, allocations: 35.92 kB / 485 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.4123, allocations: 4.062 kB / 485.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.943e-05/0.4124, allocations: 8 kB / 485.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.4124, allocations: 4 kB / 485.1 MB, free: 12.59 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 8.414e-05/0.4125, allocations: 121.8 kB / 485.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.34e-05/0.4125, allocations: 11.84 kB / 485.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.485e-05/0.4126, allocations: 20.36 kB / 485.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.4126, allocations: 3.938 kB / 485.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.4126, allocations: 0 / 485.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.4126, allocations: 0 / 485.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004796/0.4131, allocations: 428 kB / 485.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4131, allocations: 0 / 485.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.4133, allocations: 31.92 kB / 485.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.4133, allocations: 0 / 485.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.4133, allocations: 8 kB / 485.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4133, allocations: 0 / 485.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4133, allocations: 4.062 kB / 485.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/0.4136, allocations: 272.5 kB / 485.9 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.215e-05/0.4136, allocations: 85.02 kB / 486 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.4137, allocations: 0 / 486 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.253e-05/0.4138, allocations: 15.94 kB / 486 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.086e-05/0.4138, allocations: 11.98 kB / 486.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.4138, allocations: 4 kB / 486.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.966e-05/0.4139, allocations: 95.27 kB / 486.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4139, allocations: 0 / 486.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002393/0.4141, allocations: 28 kB / 486.2 MB, free: 11.35 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.0001198/0.4142, allocations: 103.2 kB / 486.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000151/0.4144, allocations: 83.86 kB / 486.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4144, allocations: 0 / 486.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.456e-05/0.4145, allocations: 39.92 kB / 486.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.4147, allocations: 16.22 kB / 486.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007255/0.4155, allocations: 0.5455 MB / 487 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.4157, allocations: 0.7082 MB / 487.7 MB, free: 9.785 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.836e-05/0.4158, allocations: 8.891 kB / 487.7 MB, free: 9.773 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.117e-05/0.4158, allocations: 15.44 kB / 487.7 MB, free: 9.758 MB / 362.7 MB Notification: Performance of SimCode: time 1.943e-06/0.4158, allocations: 3.938 kB / 487.7 MB, free: 9.754 MB / 362.7 MB Notification: Performance of Templates: time 0.002945/0.4188, allocations: 1.023 MB / 488.7 MB, free: 8.746 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches