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.00104/0.001041, allocations: 171.9 kB / 14.1 MB, free: 1.223 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.616/1.616, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0007656/0.0007657, allocations: 86.64 kB / 268 MB, free: 14.03 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.898e-05/2.942e-05, allocations: 0 / 322.4 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09492/0.09497, allocations: 47.57 MB / 370 MB, free: 1.715 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3185/0.4135, allocations: 77 MB / 447 MB, free: 260 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/0.4139, allocations: 63.28 kB / 447.1 MB, free: 228 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007447/0.4213, allocations: 2.574 MB / 449.6 MB, free: 14.04 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4214, allocations: 0 / 449.6 MB, free: 14.04 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.4214, allocations: 4 kB / 449.6 MB, free: 14.04 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.4219, allocations: 386.2 kB / 450 MB, free: 13.62 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.4219, allocations: 12.03 kB / 450 MB, free: 13.61 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001882/0.4221, allocations: 31.8 kB / 450.1 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.4223, allocations: 186.6 kB / 450.3 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.4223, allocations: 7.812 kB / 450.3 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.508e-05/0.4224, allocations: 11.64 kB / 450.3 MB, free: 13.35 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.4226, allocations: 100.5 kB / 450.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.4226, allocations: 0 / 450.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.4226, allocations: 4 kB / 450.4 MB, free: 13.26 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.4226, allocations: 0 / 450.4 MB, free: 13.26 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.4228, allocations: 64.38 kB / 450.4 MB, free: 13.22 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006908/0.4235, allocations: 444.7 kB / 450.9 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000288/0.4238, allocations: 103.8 kB / 451 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.962e-05/0.4238, allocations: 30.86 kB / 451 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.4239, allocations: 0 / 451 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.4239, allocations: 42.48 kB / 451 MB, free: 12.62 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.4239, allocations: 0 / 451 MB, free: 12.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007049/0.4246, allocations: 370.5 kB / 451.4 MB, free: 12.25 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.984e-05/0.4247, allocations: 55.36 kB / 451.5 MB, free: 12.19 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.4248, allocations: 116.3 kB / 451.6 MB, free: 12.07 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.4248, allocations: 29.33 kB / 451.6 MB, free: 12.04 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.44e-05/0.4249, allocations: 111.4 kB / 451.7 MB, free: 11.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.425, allocations: 41.86 kB / 451.8 MB, free: 11.9 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.576e-05/0.425, allocations: 4 kB / 451.8 MB, free: 11.89 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.4252, allocations: 321.6 kB / 452.1 MB, free: 11.58 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.133e-05/0.4252, allocations: 22.69 kB / 452.1 MB, free: 11.56 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.537e-05/0.4253, allocations: 60.38 kB / 452.2 MB, free: 11.5 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.837e-05/0.4254, allocations: 30.22 kB / 452.2 MB, free: 11.48 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.4254, allocations: 0 / 452.2 MB, free: 11.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001913/0.4256, allocations: 131.6 kB / 452.3 MB, free: 11.38 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.4256, allocations: 4 kB / 452.3 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.4256, allocations: 4 kB / 452.3 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.4257, allocations: 0 / 452.3 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.4258, allocations: 35.98 kB / 452.4 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.4258, allocations: 4 kB / 452.4 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.125e-05/0.4259, allocations: 18.94 kB / 452.4 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.4259, allocations: 4 kB / 452.4 MB, free: 11.31 MB / 330.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 () * 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.375e-05/0.426, allocations: 111.3 kB / 452.5 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/0.426, allocations: 7.906 kB / 452.5 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.98e-05/0.4261, allocations: 15.25 kB / 452.5 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.4261, allocations: 0 / 452.5 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.4261, allocations: 0 / 452.5 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.4261, allocations: 4 kB / 452.5 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00054/0.4267, allocations: 435.2 kB / 452.9 MB, free: 10.74 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.4267, allocations: 0 / 452.9 MB, free: 10.74 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.4268, allocations: 27.98 kB / 453 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4268, allocations: 0 / 453 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.4269, allocations: 0 / 453 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.4269, allocations: 12.02 kB / 453 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4269, allocations: 3.938 kB / 453 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002824/0.4272, allocations: 269.7 kB / 453.2 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.955e-05/0.4272, allocations: 85.06 kB / 453.3 MB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.4273, allocations: 15 kB / 453.3 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.106e-05/0.4273, allocations: 4 kB / 453.3 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.35e-05/0.4274, allocations: 11.22 kB / 453.4 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.4274, allocations: 4 kB / 453.4 MB, free: 10.3 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.111e-05/0.4275, allocations: 102 kB / 453.5 MB, free: 10.21 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4275, allocations: 0 / 453.5 MB, free: 10.21 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002337/0.4277, allocations: 27.17 kB / 453.5 MB, free: 10.19 MB / 330.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 () * 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.0001349/0.4278, allocations: 95.25 kB / 453.6 MB, free: 10.09 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001551/0.428, allocations: 79.19 kB / 453.7 MB, free: 10.03 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.428, allocations: 0 / 453.7 MB, free: 10.03 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.093e-05/0.4281, allocations: 38.06 kB / 453.7 MB, free: 10 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.4283, allocations: 15.34 kB / 453.7 MB, free: 9.988 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006959/0.429, allocations: 361.7 kB / 454.1 MB, free: 9.621 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.4293, allocations: 0.7121 MB / 454.8 MB, free: 8.883 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.608e-05/0.4294, allocations: 8.875 kB / 454.8 MB, free: 8.871 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.198e-05/0.4294, allocations: 19.44 kB / 454.8 MB, free: 8.852 MB / 330.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4295, allocations: 0 / 454.8 MB, free: 8.852 MB / 330.7 MB Notification: Performance of Templates: time 0.003181/0.4326, allocations: 1.021 MB / 455.8 MB, free: 7.848 MB / 330.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/jenkins/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