Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001201/0.001201, 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 1.392/1.392, allocations: 226.5 MB / 245.4 MB, free: 8.195 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009348/0.0009349, allocations: 96.81 kB / 297.4 MB, free: 6.902 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002548/0.0002549, allocations: 8 kB / 357.4 MB, free: 10.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2106, allocations: 51.29 MB / 408.7 MB, free: 27.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08547/0.2961, allocations: 78.61 MB / 487.3 MB, free: 13.03 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001997/0.2963, allocations: 79.94 kB / 487.3 MB, free: 12.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007408/0.3038, allocations: 2.592 MB / 489.9 MB, free: 10.35 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3038, allocations: 0 / 489.9 MB, free: 10.35 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.3038, allocations: 4 kB / 489.9 MB, free: 10.35 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.0004102/0.3042, allocations: 383.7 kB / 490.3 MB, free: 9.922 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.3043, allocations: 12.03 kB / 490.3 MB, free: 9.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001637/0.3044, allocations: 24.83 kB / 490.3 MB, free: 9.887 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.3046, allocations: 192.1 kB / 490.5 MB, free: 9.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.3046, allocations: 8.562 kB / 490.5 MB, free: 9.652 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.3047, allocations: 12.38 kB / 490.6 MB, free: 9.641 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.3048, allocations: 93.34 kB / 490.6 MB, free: 9.547 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.3049, allocations: 0 / 490.6 MB, free: 9.547 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.3049, allocations: 8 kB / 490.7 MB, free: 9.539 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3049, allocations: 0 / 490.7 MB, free: 9.539 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.305, allocations: 55.97 kB / 490.7 MB, free: 9.484 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006768/0.3057, allocations: 0.4893 MB / 491.2 MB, free: 8.934 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002219/0.3059, allocations: 82.56 kB / 491.3 MB, free: 8.844 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.454e-05/0.306, allocations: 24.86 kB / 491.3 MB, free: 8.816 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.306, allocations: 4 kB / 491.3 MB, free: 8.812 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.306, allocations: 34.56 kB / 491.3 MB, free: 8.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.306, allocations: 0 / 491.3 MB, free: 8.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002119/0.3063, allocations: 101.7 kB / 491.4 MB, free: 8.664 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.3063, allocations: 51.41 kB / 491.5 MB, free: 8.602 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.698e-05/0.3064, allocations: 123.8 kB / 491.6 MB, free: 8.473 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.3064, allocations: 29.64 kB / 491.6 MB, free: 8.438 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.077e-05/0.3065, allocations: 107.9 kB / 491.7 MB, free: 8.328 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/0.3065, allocations: 35.55 kB / 491.8 MB, free: 8.293 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-06/0.3065, allocations: 4 kB / 491.8 MB, free: 8.289 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.952e-05/0.3066, allocations: 322.8 kB / 492.1 MB, free: 7.965 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.124e-05/0.3067, allocations: 20 kB / 492.1 MB, free: 7.945 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.94e-05/0.3068, allocations: 51.42 kB / 492.2 MB, free: 7.883 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.3069, allocations: 79.36 kB / 492.2 MB, free: 7.793 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3069, allocations: 3.938 kB / 492.3 MB, free: 7.789 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001584/0.307, allocations: 109.5 kB / 492.4 MB, free: 7.676 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.3071, allocations: 4 kB / 492.4 MB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3071, allocations: 4 kB / 492.4 MB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.3071, allocations: 0 / 492.4 MB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.3072, allocations: 27.98 kB / 492.4 MB, free: 7.641 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.3072, allocations: 8.031 kB / 492.4 MB, free: 7.633 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.412e-05/0.3073, allocations: 15.84 kB / 492.4 MB, free: 7.617 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.3073, allocations: 4 kB / 492.4 MB, free: 7.613 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 8.131e-05/0.3074, allocations: 117.8 kB / 492.5 MB, free: 7.488 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.3074, allocations: 7.906 kB / 492.5 MB, free: 7.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.458e-05/0.3075, allocations: 16.36 kB / 492.6 MB, free: 7.465 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3075, allocations: 0 / 492.6 MB, free: 7.465 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3075, allocations: 0 / 492.6 MB, free: 7.465 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3075, allocations: 3.938 kB / 492.6 MB, free: 7.461 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001991/0.3077, allocations: 205.6 kB / 492.8 MB, free: 7.211 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.3077, allocations: 0 / 492.8 MB, free: 7.211 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.3078, allocations: 16 kB / 492.8 MB, free: 7.195 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3078, allocations: 96 / 492.8 MB, free: 7.195 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.3079, allocations: 7.938 kB / 492.8 MB, free: 7.188 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.191e-06/0.3079, allocations: 11.92 kB / 492.8 MB, free: 7.176 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3079, allocations: 0 / 492.8 MB, free: 7.176 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002125/0.3081, allocations: 203.7 kB / 493 MB, free: 6.961 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.785e-05/0.3082, allocations: 89.02 kB / 493.1 MB, free: 6.855 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.3082, allocations: 4 kB / 493.1 MB, free: 6.852 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.608e-05/0.3083, allocations: 0 / 493.1 MB, free: 6.852 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.146e-05/0.3083, allocations: 7.938 kB / 493.1 MB, free: 6.844 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.3083, allocations: 0 / 493.1 MB, free: 6.844 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.778e-05/0.3084, allocations: 95.27 kB / 493.2 MB, free: 6.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3084, allocations: 0 / 493.2 MB, free: 6.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002333/0.3086, allocations: 24 kB / 493.2 MB, free: 6.727 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.0001201/0.3088, allocations: 115.1 kB / 493.3 MB, free: 6.605 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001282/0.3089, allocations: 63.91 kB / 493.4 MB, free: 6.543 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3089, allocations: 0 / 493.4 MB, free: 6.543 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.938e-05/0.3089, allocations: 27.98 kB / 493.4 MB, free: 6.516 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.3093, allocations: 14.41 kB / 493.4 MB, free: 6.504 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007223/0.31, allocations: 0.5489 MB / 494 MB, free: 5.918 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.3103, allocations: 0.7004 MB / 494.7 MB, free: 5.191 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.999e-05/0.3103, allocations: 15.44 kB / 494.7 MB, free: 5.176 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3103, allocations: 0 / 494.7 MB, free: 5.176 MB / 362.7 MB Notification: Performance of Templates: time 0.00237/0.3127, allocations: 1.283 MB / 496 MB, free: 3.898 MB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches