Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001327/0.001327, allocations: 183.2 kB / 18.04 MB, free: 3.781 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.68/1.68, allocations: 205.4 MB / 224.2 MB, free: 9.023 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.0007834/0.0007835, allocations: 77.56 kB / 272.5 MB, free: 8.266 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003048/0.0003048, allocations: 12 kB / 329.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2158, allocations: 47.58 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09005/0.3058, allocations: 77.14 MB / 454.2 MB, free: 3.422 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/0.3061, allocations: 71.97 kB / 454.2 MB, free: 3.352 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007316/0.3134, allocations: 2.584 MB / 456.8 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.3135, allocations: 0 / 456.8 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.3135, allocations: 8 kB / 456.8 MB, free: 0.7539 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.0004637/0.314, allocations: 391.7 kB / 457.2 MB, free: 328 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.314, allocations: 8.031 kB / 457.2 MB, free: 320 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001784/0.3142, allocations: 24.83 kB / 457.2 MB, free: 296 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.3145, allocations: 192.1 kB / 457.4 MB, free: 64 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.3145, allocations: 8.562 kB / 457.4 MB, free: 56 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.113e-05/0.3145, allocations: 20.28 kB / 457.5 MB, free: 36 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002112/0.3148, allocations: 94.59 kB / 457.5 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.3148, allocations: 0 / 457.5 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.3148, allocations: 8 kB / 457.6 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3148, allocations: 0 / 457.6 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.315, allocations: 63.47 kB / 457.6 MB, free: 15.87 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007075/0.3157, allocations: 456.6 kB / 458.1 MB, free: 15.37 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.3159, allocations: 106.5 kB / 458.2 MB, free: 15.25 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.527e-05/0.316, allocations: 28.86 kB / 458.2 MB, free: 15.22 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/0.316, allocations: 0 / 458.2 MB, free: 15.22 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.3161, allocations: 34.56 kB / 458.2 MB, free: 15.18 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 9.91e-07/0.3161, allocations: 7.938 kB / 458.2 MB, free: 15.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.001327/0.3174, allocations: 0.5304 MB / 458.8 MB, free: 14.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.3175, allocations: 55.34 kB / 458.8 MB, free: 14.5 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.3176, allocations: 126 kB / 458.9 MB, free: 14.37 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.3176, allocations: 29.7 kB / 459 MB, free: 14.33 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.043e-05/0.3177, allocations: 95.98 kB / 459.1 MB, free: 14.23 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.845e-05/0.3177, allocations: 47.3 kB / 459.1 MB, free: 14.19 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-06/0.3177, allocations: 8 kB / 459.1 MB, free: 14.18 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.3179, allocations: 326.8 kB / 459.4 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.613e-05/0.3179, allocations: 27.98 kB / 459.5 MB, free: 13.82 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.637e-05/0.318, allocations: 55.42 kB / 459.5 MB, free: 13.76 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.3182, allocations: 91.36 kB / 459.6 MB, free: 13.66 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3182, allocations: 0 / 459.6 MB, free: 13.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002217/0.3184, allocations: 137.4 kB / 459.7 MB, free: 13.52 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.3185, allocations: 8 kB / 459.8 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3185, allocations: 0 / 459.8 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.3185, allocations: 0 / 459.8 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.3186, allocations: 43.92 kB / 459.8 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.3187, allocations: 0 / 459.8 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.02e-05/0.3187, allocations: 4 kB / 459.8 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.3187, allocations: 7.938 kB / 459.8 MB, free: 13.45 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 0.0001099/0.3189, allocations: 125.8 kB / 459.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.158e-05/0.3189, allocations: 7.906 kB / 459.9 MB, free: 13.31 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.462e-05/0.319, allocations: 20.36 kB / 460 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.319, allocations: 0 / 460 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.319, allocations: 0 / 460 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.319, allocations: 0 / 460 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005734/0.3196, allocations: 424.1 kB / 460.4 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.3196, allocations: 0 / 460.4 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/0.3198, allocations: 35.92 kB / 460.4 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.3198, allocations: 0 / 460.4 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.3198, allocations: 7.938 kB / 460.4 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.3198, allocations: 3.938 kB / 460.4 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3198, allocations: 0 / 460.4 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003022/0.3202, allocations: 254.2 kB / 460.7 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.313e-05/0.3202, allocations: 88.95 kB / 460.8 MB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.3202, allocations: 7.938 kB / 460.8 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.021e-05/0.3203, allocations: 8.031 kB / 460.8 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.167e-05/0.3204, allocations: 8 kB / 460.8 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.3204, allocations: 4 kB / 460.8 MB, free: 12.37 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.273e-05/0.3204, allocations: 94.89 kB / 460.9 MB, free: 12.28 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3205, allocations: 4 kB / 460.9 MB, free: 12.28 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002558/0.3207, allocations: 28 kB / 460.9 MB, free: 12.25 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.0001325/0.3209, allocations: 99.23 kB / 461 MB, free: 12.14 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001647/0.321, allocations: 79.8 kB / 461.1 MB, free: 12.06 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.321, allocations: 0 / 461.1 MB, free: 12.06 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.511e-05/0.3211, allocations: 43.92 kB / 461.1 MB, free: 12.02 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.3215, allocations: 20.56 kB / 461.1 MB, free: 12 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008778/0.3224, allocations: 0.549 MB / 461.7 MB, free: 11.42 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.3227, allocations: 0.7121 MB / 462.4 MB, free: 10.68 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.35e-05/0.3228, allocations: 8.875 kB / 462.4 MB, free: 10.67 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.272e-05/0.3229, allocations: 15.44 kB / 462.4 MB, free: 10.65 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3229, allocations: 0 / 462.4 MB, free: 10.65 MB / 346.7 MB Notification: Performance of Templates: time 0.003187/0.3261, allocations: 1.027 MB / 463.5 MB, free: 9.637 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches