Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.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.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001061/0.001061, allocations: 200.7 kB / 18.11 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 226.5 MB / 245.4 MB, free: 8.055 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007432/0.0007432, allocations: 108.8 kB / 297.5 MB, free: 6.848 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002017/0.0002017, allocations: 4 kB / 358.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.1992, allocations: 51.3 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08872/0.288, allocations: 78.62 MB / 488 MB, free: 12.89 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001909/0.2882, allocations: 68.5 kB / 488.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006673/0.2949, allocations: 2.588 MB / 490.6 MB, free: 10.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2949, allocations: 0 / 490.6 MB, free: 10.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.2949, allocations: 4 kB / 490.7 MB, free: 10.23 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.00038/0.2953, allocations: 387.7 kB / 491 MB, free: 9.801 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.2954, allocations: 8.031 kB / 491 MB, free: 9.793 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/0.2955, allocations: 32.83 kB / 491.1 MB, free: 9.762 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.2957, allocations: 188.2 kB / 491.3 MB, free: 9.539 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.2957, allocations: 8.562 kB / 491.3 MB, free: 9.531 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.2958, allocations: 8.375 kB / 491.3 MB, free: 9.523 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.2959, allocations: 101 kB / 491.4 MB, free: 9.422 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.296, allocations: 0 / 491.4 MB, free: 9.422 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.296, allocations: 4 kB / 491.4 MB, free: 9.418 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.296, allocations: 4 kB / 491.4 MB, free: 9.414 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.2961, allocations: 55.97 kB / 491.4 MB, free: 9.359 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006869/0.2968, allocations: 489.1 kB / 491.9 MB, free: 8.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002239/0.297, allocations: 90.52 kB / 492 MB, free: 8.723 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.137e-05/0.2971, allocations: 24.89 kB / 492 MB, free: 8.695 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.908e-06/0.2971, allocations: 4 kB / 492 MB, free: 8.691 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.2971, allocations: 34.56 kB / 492.1 MB, free: 8.648 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 2.244e-06/0.2971, allocations: 3.984 kB / 492.1 MB, free: 8.645 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000215/0.2974, allocations: 93.73 kB / 492.2 MB, free: 8.547 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.2974, allocations: 59.34 kB / 492.2 MB, free: 8.477 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.032e-05/0.2975, allocations: 121.8 kB / 492.3 MB, free: 8.348 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.2975, allocations: 29.7 kB / 492.4 MB, free: 8.312 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.692e-05/0.2976, allocations: 107.9 kB / 492.5 MB, free: 8.203 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.2976, allocations: 31.56 kB / 492.5 MB, free: 8.172 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.2976, allocations: 0 / 492.5 MB, free: 8.172 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.905e-05/0.2977, allocations: 318.8 kB / 492.8 MB, free: 7.852 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.367e-05/0.2978, allocations: 27.98 kB / 492.8 MB, free: 7.824 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.617e-05/0.2978, allocations: 50.92 kB / 492.9 MB, free: 7.766 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.2979, allocations: 83.31 kB / 493 MB, free: 7.672 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2979, allocations: 3.938 kB / 493 MB, free: 7.668 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001556/0.2981, allocations: 109.5 kB / 493.1 MB, free: 7.555 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.2981, allocations: 8 kB / 493.1 MB, free: 7.547 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.2981, allocations: 4.094 kB / 493.1 MB, free: 7.543 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.2982, allocations: 0 / 493.1 MB, free: 7.543 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.2983, allocations: 28 kB / 493.1 MB, free: 7.516 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.2983, allocations: 4.297 kB / 493.1 MB, free: 7.512 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.351e-05/0.2984, allocations: 15.78 kB / 493.1 MB, free: 7.496 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.2984, allocations: 4 kB / 493.1 MB, free: 7.492 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 (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 prepare postOptimizeDAE: time 7.553e-05/0.2984, allocations: 117.8 kB / 493.3 MB, free: 7.367 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.875e-05/0.2985, allocations: 7.906 kB / 493.3 MB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.396e-05/0.2985, allocations: 12.38 kB / 493.3 MB, free: 7.348 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.2985, allocations: 0 / 493.3 MB, free: 7.348 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.2985, allocations: 4 kB / 493.3 MB, free: 7.344 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.2985, allocations: 7.922 kB / 493.3 MB, free: 7.336 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.2987, allocations: 197.6 kB / 493.5 MB, free: 7.094 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2987, allocations: 0 / 493.5 MB, free: 7.094 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.2989, allocations: 19.98 kB / 493.5 MB, free: 7.074 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.2989, allocations: 4 kB / 493.5 MB, free: 7.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.026e-06/0.2989, allocations: 0 / 493.5 MB, free: 7.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2989, allocations: 0 / 493.5 MB, free: 7.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.2989, allocations: 7.922 kB / 493.5 MB, free: 7.062 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002071/0.2991, allocations: 211.4 kB / 493.7 MB, free: 6.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.507e-05/0.2992, allocations: 85.02 kB / 493.8 MB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.2992, allocations: 4 kB / 493.8 MB, free: 6.734 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.71e-05/0.2993, allocations: 4 kB / 493.8 MB, free: 6.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.942e-05/0.2993, allocations: 7.969 kB / 493.8 MB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.2993, allocations: 8 kB / 493.8 MB, free: 6.715 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.764e-05/0.2994, allocations: 93.12 kB / 493.9 MB, free: 6.625 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2994, allocations: 4 kB / 493.9 MB, free: 6.621 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000237/0.2996, allocations: 20 kB / 493.9 MB, free: 6.602 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (eddyCurrentTorque.phi,inertia.w,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 (8): * Single equations (assignments): 8 * 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.0001/0.2997, allocations: 107.1 kB / 494 MB, free: 6.488 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000129/0.2999, allocations: 67.94 kB / 494.1 MB, free: 6.422 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2999, allocations: 0 / 494.1 MB, free: 6.422 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.701e-05/0.2999, allocations: 23.94 kB / 494.1 MB, free: 6.398 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.3002, allocations: 16.17 kB / 494.1 MB, free: 6.383 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006774/0.3009, allocations: 0.5165 MB / 494.7 MB, free: 5.832 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.3011, allocations: 0.7043 MB / 495.4 MB, free: 5.102 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.971e-05/0.3012, allocations: 8.422 kB / 495.4 MB, free: 5.094 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.329e-05/0.3013, allocations: 11.44 kB / 495.4 MB, free: 5.082 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3013, allocations: 0 / 495.4 MB, free: 5.082 MB / 362.7 MB Notification: Performance of Templates: time 0.002665/0.3039, allocations: 0.8532 MB / 496.2 MB, free: 4.246 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches