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.0013/0.0013, allocations: 175 kB / 17.4 MB, free: 4.418 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.281/1.281, allocations: 223.3 MB / 241.4 MB, free: 11.62 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.0007778/0.0007779, allocations: 99.25 kB / 292.6 MB, free: 10.78 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003164/0.0003164, allocations: 11.94 kB / 352.3 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1944, allocations: 50.4 MB / 402.7 MB, free: 32.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08588/0.2803, allocations: 78.02 MB / 480.8 MB, free: 2.352 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002184/0.2806, allocations: 74.8 kB / 480.8 MB, free: 2.281 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006585/0.2872, allocations: 2.625 MB / 483.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.2872, allocations: 0 / 483.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.2872, allocations: 8 kB / 483.5 MB, free: 15.64 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.0004208/0.2877, allocations: 391.7 kB / 483.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.2877, allocations: 8.031 kB / 483.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001826/0.2879, allocations: 24.83 kB / 483.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.2881, allocations: 196.1 kB / 484.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.2881, allocations: 8.562 kB / 484.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.2882, allocations: 16.28 kB / 484.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.2884, allocations: 97.09 kB / 484.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.2884, allocations: 0 / 484.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.2884, allocations: 4 kB / 484.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.2884, allocations: 8 kB / 484.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.2885, allocations: 59.95 kB / 484.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006522/0.2892, allocations: 447.6 kB / 484.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002562/0.2895, allocations: 110.5 kB / 484.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.574e-05/0.2895, allocations: 32.84 kB / 484.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.2896, allocations: 0 / 484.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.2896, allocations: 38.5 kB / 484.9 MB, free: 14.06 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.022e-06/0.2896, allocations: 0 / 484.9 MB, free: 14.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.001182/0.2908, allocations: 0.5266 MB / 485.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.2908, allocations: 51.41 kB / 485.4 MB, free: 13.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.587e-05/0.2909, allocations: 126.3 kB / 485.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.291, allocations: 29.7 kB / 485.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.224e-05/0.291, allocations: 111.7 kB / 485.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/0.2911, allocations: 47.3 kB / 485.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.663e-06/0.2911, allocations: 4 kB / 485.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.2912, allocations: 322.8 kB / 486.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.482e-05/0.2913, allocations: 35.92 kB / 486.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.015e-05/0.2913, allocations: 59.42 kB / 486.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.2915, allocations: 91.36 kB / 486.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.2915, allocations: 0 / 486.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001935/0.2917, allocations: 130.2 kB / 486.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.2917, allocations: 7.984 kB / 486.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.2917, allocations: 4 kB / 486.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.2917, allocations: 4.062 kB / 486.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.2919, allocations: 31.98 kB / 486.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.2919, allocations: 0 / 486.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.784e-05/0.292, allocations: 8 kB / 486.4 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.292, allocations: 11.88 kB / 486.4 MB, free: 12.34 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.535e-05/0.2921, allocations: 121.8 kB / 486.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.996e-05/0.2921, allocations: 7.906 kB / 486.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.793e-05/0.2922, allocations: 12.38 kB / 486.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.2922, allocations: 8 kB / 486.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.2922, allocations: 0 / 486.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2922, allocations: 3.984 kB / 486.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004868/0.2927, allocations: 424.1 kB / 487 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2927, allocations: 0 / 487 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.2929, allocations: 31.98 kB / 487 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2929, allocations: 64 / 487 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.2929, allocations: 16.03 kB / 487.1 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2929, allocations: 3.938 kB / 487.1 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2929, allocations: 0 / 487.1 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.2932, allocations: 249 kB / 487.3 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.582e-05/0.2932, allocations: 85.02 kB / 487.4 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.2932, allocations: 7.938 kB / 487.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.644e-05/0.2933, allocations: 8 kB / 487.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.95e-05/0.2934, allocations: 8.031 kB / 487.4 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-06/0.2934, allocations: 8 kB / 487.4 MB, free: 11.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.668e-05/0.2934, allocations: 95.27 kB / 487.5 MB, free: 11.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2934, allocations: 0 / 487.5 MB, free: 11.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000243/0.2937, allocations: 28 kB / 487.5 MB, free: 11.13 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.0001073/0.2938, allocations: 99.33 kB / 487.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000152/0.294, allocations: 92.05 kB / 487.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.294, allocations: 0 / 487.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.768e-05/0.294, allocations: 43.92 kB / 487.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.2944, allocations: 14.66 kB / 487.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007235/0.2951, allocations: 0.5532 MB / 488.3 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.2954, allocations: 0.7081 MB / 489 MB, free: 9.555 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.264e-05/0.2954, allocations: 8.891 kB / 489.1 MB, free: 9.543 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.744e-05/0.2955, allocations: 15.44 kB / 489.1 MB, free: 9.527 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.2955, allocations: 0 / 489.1 MB, free: 9.527 MB / 362.7 MB Notification: Performance of Templates: time 0.002891/0.2984, allocations: 1.029 MB / 490.1 MB, free: 8.516 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/jenkins1/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