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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 113.2 kB / 17.73 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 184.2 kB / 18.66 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.497/1.497, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 55.92 kB / 328.5 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1421, allocations: 46.62 MB / 375.1 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.004118/0.1463, allocations: 1.771 MB / 376.9 MB, free: 2.812 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.1476, allocations: 0.6823 MB / 377.6 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001854/0.1479, allocations: 4 kB / 377.6 MB, free: 2.117 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001739/0.1481, allocations: 19.78 kB / 377.6 MB, free: 2.098 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001549/0.1482, allocations: 35.7 kB / 377.6 MB, free: 2.062 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003729/0.1486, allocations: 51.81 kB / 377.7 MB, free: 2.012 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002413/0.1489, allocations: 123.4 kB / 377.8 MB, free: 1.891 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001708/0.149, allocations: 29.38 kB / 377.8 MB, free: 1.863 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.1492, allocations: 43.86 kB / 377.9 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.1493, allocations: 51.72 kB / 377.9 MB, free: 1.77 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.634e-05/0.1493, allocations: 8 kB / 377.9 MB, free: 1.762 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.1494, allocations: 27.98 kB / 378 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.813e-05/0.1495, allocations: 19.92 kB / 378 MB, free: 1.715 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.867e-05/0.1496, allocations: 63.72 kB / 378 MB, free: 1.652 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002514/0.1498, allocations: 123.6 kB / 378.2 MB, free: 1.531 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.1498, allocations: 3.938 kB / 378.2 MB, free: 1.527 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1498, allocations: 0 / 378.2 MB, free: 1.527 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.1498, allocations: 0 / 378.2 MB, free: 1.527 MB / 318.1 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.0006731/0.1505, allocations: 403.4 kB / 378.6 MB, free: 1.086 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.1506, allocations: 11.89 kB / 378.6 MB, free: 1.074 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002494/0.1508, allocations: 36.72 kB / 378.6 MB, free: 1.039 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000307/0.1511, allocations: 192.2 kB / 378.8 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.1512, allocations: 8.547 kB / 378.8 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.681e-05/0.1512, allocations: 12.38 kB / 378.8 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.1514, allocations: 93.59 kB / 378.9 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.1514, allocations: 0 / 378.9 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.1515, allocations: 7.938 kB / 378.9 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1515, allocations: 0 / 378.9 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.1516, allocations: 63.97 kB / 379 MB, free: 0.625 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007624/0.1524, allocations: 455.5 kB / 379.4 MB, free: 128 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003017/0.1527, allocations: 98.58 kB / 379.5 MB, free: 20 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2508/0.4035, allocations: 29.28 kB / 379.6 MB, free: 13.15 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.655e-05/0.4036, allocations: 2.172 kB / 379.6 MB, free: 13.15 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.4037, allocations: 35.48 kB / 379.6 MB, free: 13.11 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 4.438e-06/0.4037, allocations: 0 / 379.6 MB, free: 13.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001838/0.4055, allocations: 0.5269 MB / 380.1 MB, free: 12.77 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.4056, allocations: 52.72 kB / 380.2 MB, free: 12.71 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.4057, allocations: 128 kB / 380.3 MB, free: 12.61 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.4057, allocations: 30.55 kB / 380.3 MB, free: 12.57 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.731e-05/0.4058, allocations: 108.9 kB / 380.4 MB, free: 12.48 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.406e-05/0.4059, allocations: 43.34 kB / 380.5 MB, free: 12.46 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.499e-05/0.4059, allocations: 32.84 kB / 380.5 MB, free: 12.45 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.162e-05/0.406, allocations: 319.1 kB / 380.8 MB, free: 12.13 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.009e-05/0.4061, allocations: 31.31 kB / 380.8 MB, free: 12.13 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.4062, allocations: 63.92 kB / 380.9 MB, free: 12.1 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.4064, allocations: 95.23 kB / 381 MB, free: 12.07 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.4064, allocations: 3.562 kB / 381 MB, free: 12.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000316/0.4068, allocations: 131.8 kB / 381.1 MB, free: 12.04 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.285e-05/0.4068, allocations: 6.156 kB / 381.1 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.4068, allocations: 3.344 kB / 381.1 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.721e-05/0.4069, allocations: 5.938 kB / 381.1 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.4071, allocations: 32.77 kB / 381.2 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/0.4071, allocations: 1.406 kB / 381.2 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.196e-05/0.4072, allocations: 5.047 kB / 381.2 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.4072, allocations: 5 kB / 381.2 MB, free: 12.04 MB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001131/0.4073, allocations: 129.8 kB / 381.3 MB, free: 11.92 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.774e-05/0.4074, allocations: 9.031 kB / 381.3 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.949e-05/0.4074, allocations: 13.41 kB / 381.3 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.4075, allocations: 3.969 kB / 381.3 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.4075, allocations: 0 / 381.3 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.4075, allocations: 1.062 kB / 381.3 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006703/0.4082, allocations: 435.5 kB / 381.8 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.4082, allocations: 1.125 kB / 381.8 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/0.4084, allocations: 30.97 kB / 381.8 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.4084, allocations: 4.125 kB / 381.8 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.4085, allocations: 1.375 kB / 381.8 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.4085, allocations: 1.375 kB / 381.8 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.4085, allocations: 8.438 kB / 381.8 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003739/0.4089, allocations: 250.6 kB / 382.1 MB, free: 11.44 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.042e-05/0.4089, allocations: 84.36 kB / 382.1 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.4089, allocations: 5.375 kB / 382.1 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.4091, allocations: 1.344 kB / 382.1 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.4091, allocations: 14.17 kB / 382.2 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.4091, allocations: 8.906 kB / 382.2 MB, free: 11.34 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.402e-05/0.4092, allocations: 91.05 kB / 382.3 MB, free: 11.26 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.333e-06/0.4092, allocations: 0.75 kB / 382.3 MB, free: 11.26 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004542/0.4097, allocations: 29.19 kB / 382.3 MB, free: 11.26 MB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001102/0.4098, allocations: 97.41 kB / 382.4 MB, free: 11.17 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000265/0.4101, allocations: 81.81 kB / 382.5 MB, free: 11.17 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4101, allocations: 1.375 kB / 382.5 MB, free: 11.17 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.727e-05/0.4102, allocations: 44.34 kB / 382.5 MB, free: 11.16 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005017/0.4107, allocations: 18.69 kB / 382.5 MB, free: 11.16 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.4119, allocations: 458.4 kB / 383 MB, free: 10.87 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.4121, allocations: 0.7023 MB / 383.7 MB, free: 10.17 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.88e-05/0.4122, allocations: 12.47 kB / 383.7 MB, free: 10.16 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.481e-05/0.4123, allocations: 13.06 kB / 383.7 MB, free: 10.16 MB / 318.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4123, allocations: 0 / 383.7 MB, free: 10.16 MB / 318.1 MB Notification: Performance of Templates: time 0.005884/0.4182, allocations: 1.131 MB / 384.8 MB, free: 10.07 MB / 318.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches