Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 105.3 kB / 17.06 MB, free: 6.02 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.001042/0.001042, allocations: 192 kB / 18 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 43.92 kB / 350.8 MB, free: 3.789 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3163, allocations: 49.44 MB / 400.2 MB, free: 8.441 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003658/0.32, allocations: 1.788 MB / 402 MB, free: 7.039 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.3213, allocations: 0.6329 MB / 402.6 MB, free: 6.406 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001714/0.3215, allocations: 0 / 402.6 MB, free: 6.406 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001525/0.3217, allocations: 19.8 kB / 402.7 MB, free: 6.387 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001431/0.3219, allocations: 39.69 kB / 402.7 MB, free: 6.348 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003116/0.3222, allocations: 55.8 kB / 402.7 MB, free: 6.293 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002281/0.3224, allocations: 119.4 kB / 402.9 MB, free: 6.176 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.3226, allocations: 33.38 kB / 402.9 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.955e-05/0.3227, allocations: 43.86 kB / 402.9 MB, free: 6.098 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.3228, allocations: 47.77 kB / 403 MB, free: 6.051 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.487e-05/0.3228, allocations: 8 kB / 403 MB, free: 6.043 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.323, allocations: 31.92 kB / 403 MB, free: 6.012 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.843e-05/0.323, allocations: 23.92 kB / 403.1 MB, free: 5.988 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.513e-05/0.3231, allocations: 47.73 kB / 403.1 MB, free: 5.941 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002533/0.3233, allocations: 134.6 kB / 403.2 MB, free: 5.812 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3233, allocations: 0 / 403.2 MB, free: 5.812 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3234, allocations: 4 kB / 403.2 MB, free: 5.809 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.3234, allocations: 4 kB / 403.2 MB, free: 5.805 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.0006562/0.324, allocations: 403.2 kB / 403.6 MB, free: 5.363 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.3241, allocations: 12.03 kB / 403.6 MB, free: 5.352 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.399e-05/0.3241, allocations: 42.73 kB / 403.7 MB, free: 5.301 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001963/0.3243, allocations: 32.81 kB / 403.7 MB, free: 5.27 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/0.3246, allocations: 200.2 kB / 403.9 MB, free: 5.035 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.3246, allocations: 8.562 kB / 403.9 MB, free: 5.027 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.233e-05/0.3247, allocations: 12.12 kB / 403.9 MB, free: 5.016 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.3249, allocations: 90.97 kB / 404 MB, free: 4.922 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.3249, allocations: 0 / 404 MB, free: 4.922 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.3249, allocations: 7.938 kB / 404 MB, free: 4.914 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.3249, allocations: 4 kB / 404 MB, free: 4.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.325, allocations: 63.89 kB / 404.1 MB, free: 4.848 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006687/0.3257, allocations: 443.7 kB / 404.5 MB, free: 4.359 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/0.326, allocations: 106.6 kB / 404.6 MB, free: 4.246 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.178e-05/0.3261, allocations: 28.84 kB / 404.7 MB, free: 4.215 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.3261, allocations: 4 kB / 404.7 MB, free: 4.211 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.3261, allocations: 34.56 kB / 404.7 MB, free: 4.168 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.3261, allocations: 4 kB / 404.7 MB, free: 4.164 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001369/0.3275, allocations: 0.5308 MB / 405.2 MB, free: 3.562 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.3275, allocations: 51.41 kB / 405.3 MB, free: 3.5 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.3277, allocations: 125.1 kB / 405.4 MB, free: 3.367 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.3277, allocations: 29.7 kB / 405.4 MB, free: 3.332 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.592e-05/0.3278, allocations: 108 kB / 405.5 MB, free: 3.223 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.3278, allocations: 47.59 kB / 405.6 MB, free: 3.176 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.608e-05/0.3279, allocations: 29.7 kB / 405.6 MB, free: 3.141 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.328, allocations: 322.8 kB / 405.9 MB, free: 2.816 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.932e-05/0.3281, allocations: 35.92 kB / 406 MB, free: 2.781 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.618e-05/0.3282, allocations: 55.42 kB / 406 MB, free: 2.715 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.3283, allocations: 95.3 kB / 406.1 MB, free: 2.609 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.3283, allocations: 0 / 406.1 MB, free: 2.609 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002/0.3285, allocations: 129.6 kB / 406.2 MB, free: 2.477 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.3286, allocations: 8 kB / 406.2 MB, free: 2.469 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.3286, allocations: 3.938 kB / 406.3 MB, free: 2.465 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.3286, allocations: 4 kB / 406.3 MB, free: 2.461 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.3288, allocations: 31.92 kB / 406.3 MB, free: 2.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.3288, allocations: 3.938 kB / 406.3 MB, free: 2.426 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.164e-05/0.3288, allocations: 8 kB / 406.3 MB, free: 2.418 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-06/0.3289, allocations: 4 kB / 406.3 MB, free: 2.414 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 9.142e-05/0.329, allocations: 125.8 kB / 406.4 MB, free: 2.281 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.225e-05/0.329, allocations: 7.953 kB / 406.4 MB, free: 2.273 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.895e-05/0.329, allocations: 20.36 kB / 406.5 MB, free: 2.254 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.329, allocations: 4.031 kB / 406.5 MB, free: 2.25 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.3291, allocations: 3.938 kB / 406.5 MB, free: 2.246 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.3291, allocations: 0 / 406.5 MB, free: 2.246 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005224/0.3296, allocations: 432 kB / 406.9 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3296, allocations: 4.031 kB / 406.9 MB, free: 1.758 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.3298, allocations: 31.92 kB / 406.9 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.3298, allocations: 3.938 kB / 406.9 MB, free: 1.723 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.3298, allocations: 8 kB / 406.9 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3298, allocations: 0 / 406.9 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3298, allocations: 0 / 406.9 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003029/0.3301, allocations: 249.1 kB / 407.2 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.099e-05/0.3302, allocations: 89 kB / 407.3 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.3302, allocations: 8 kB / 407.3 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.493e-05/0.3303, allocations: 0 / 407.3 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.769e-05/0.3303, allocations: 8.031 kB / 407.3 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.3304, allocations: 8 kB / 407.3 MB, free: 1.32 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.384e-05/0.3304, allocations: 95.2 kB / 407.4 MB, free: 1.227 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3304, allocations: 0 / 407.4 MB, free: 1.227 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000259/0.3307, allocations: 28 kB / 407.4 MB, free: 1.199 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.0005448/0.3312, allocations: 0.7889 MB / 408.2 MB, free: 388 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001803/0.3314, allocations: 80.16 kB / 408.3 MB, free: 308 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3315, allocations: 8.062 kB / 408.3 MB, free: 300 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.519e-05/0.3315, allocations: 43.86 kB / 408.3 MB, free: 256 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.3319, allocations: 18.66 kB / 408.3 MB, free: 240 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/0.3339, allocations: 1.831 MB / 410.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.3342, allocations: 0.7079 MB / 410.9 MB, free: 13.56 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.002e-05/0.3343, allocations: 4.891 kB / 410.9 MB, free: 13.55 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.7e-05/0.3344, allocations: 35.42 kB / 410.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of SimCode: time 2e-07/0.3344, allocations: 0 / 410.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02643/0.3608, allocations: 2.589 MB / 413.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.378/7.739, allocations: 4.562 kB / 413.5 MB, free: 11.04 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches