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.001103/0.001103, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001312/0.001312, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.284/1.284, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 47.02 kB / 300.7 MB, free: 5.773 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08711/0.08825, allocations: 49.44 MB / 350.2 MB, free: 4.324 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002633/0.09091, allocations: 1.775 MB / 351.9 MB, free: 2.531 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009073/0.09184, allocations: 0.6466 MB / 352.6 MB, free: 1.879 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.092, allocations: 3.938 kB / 352.6 MB, free: 1.875 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001229/0.09213, allocations: 19.8 kB / 352.6 MB, free: 1.855 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.57e-05/0.09225, allocations: 35.69 kB / 352.6 MB, free: 1.82 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002757/0.09253, allocations: 47.81 kB / 352.7 MB, free: 1.773 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.09271, allocations: 115.4 kB / 352.8 MB, free: 1.66 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.09285, allocations: 41.36 kB / 352.8 MB, free: 1.613 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.898e-05/0.09293, allocations: 43.86 kB / 352.9 MB, free: 1.57 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.23e-05/0.09303, allocations: 39.84 kB / 352.9 MB, free: 1.531 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.09306, allocations: 8 kB / 352.9 MB, free: 1.523 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.07e-05/0.09315, allocations: 27.98 kB / 353 MB, free: 1.496 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.894e-05/0.09319, allocations: 19.86 kB / 353 MB, free: 1.477 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.69e-05/0.09325, allocations: 55.73 kB / 353 MB, free: 1.422 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.09346, allocations: 127.9 kB / 353.2 MB, free: 1.297 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.09347, allocations: 0 / 353.2 MB, free: 1.297 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.09348, allocations: 0 / 353.2 MB, free: 1.297 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.09349, allocations: 4 kB / 353.2 MB, free: 1.293 MB / 286.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.0006367/0.09413, allocations: 407.3 kB / 353.6 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.09418, allocations: 8.031 kB / 353.6 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.504e-05/0.09423, allocations: 42.75 kB / 353.6 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002058/0.09444, allocations: 28.73 kB / 353.6 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.09466, allocations: 188.2 kB / 353.8 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.09468, allocations: 12.5 kB / 353.8 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.568e-05/0.09472, allocations: 20.03 kB / 353.8 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.09492, allocations: 92.47 kB / 353.9 MB, free: 424 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.09494, allocations: 3.984 kB / 353.9 MB, free: 420 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.09496, allocations: 4 kB / 353.9 MB, free: 416 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.09498, allocations: 4 kB / 353.9 MB, free: 412 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001549/0.09513, allocations: 63.91 kB / 354 MB, free: 348 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008784/0.09602, allocations: 447.6 kB / 354.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003257/0.09636, allocations: 114.4 kB / 354.6 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.897e-05/0.09644, allocations: 28.86 kB / 354.6 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.09645, allocations: 0 / 354.6 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.09648, allocations: 34.56 kB / 354.6 MB, free: 15.65 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.103e-06/0.09649, allocations: 4 kB / 354.6 MB, free: 15.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001405/0.0979, allocations: 0.5421 MB / 355.2 MB, free: 15.03 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.09796, allocations: 55.41 kB / 355.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.09807, allocations: 123.5 kB / 355.3 MB, free: 14.83 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.0981, allocations: 29.7 kB / 355.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.92e-05/0.09817, allocations: 107.7 kB / 355.5 MB, free: 14.69 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.09821, allocations: 39.45 kB / 355.5 MB, free: 14.65 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-05/0.09828, allocations: 33.7 kB / 355.5 MB, free: 14.61 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.0984, allocations: 322.8 kB / 355.9 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.683e-05/0.09847, allocations: 27.91 kB / 355.9 MB, free: 14.26 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.076e-05/0.09856, allocations: 67.34 kB / 356 MB, free: 14.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.09871, allocations: 91.38 kB / 356 MB, free: 14.08 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.09872, allocations: 4 kB / 356 MB, free: 14.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002027/0.09893, allocations: 130.3 kB / 356.2 MB, free: 13.94 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.09896, allocations: 4 kB / 356.2 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.09897, allocations: 4 kB / 356.2 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.09899, allocations: 0 / 356.2 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.09914, allocations: 31.92 kB / 356.2 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.09916, allocations: 11.92 kB / 356.2 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.838e-05/0.09923, allocations: 4 kB / 356.2 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.09924, allocations: 4 kB / 356.2 MB, free: 13.88 MB / 302.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.0001012/0.09935, allocations: 133.8 kB / 356.4 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.227e-05/0.09938, allocations: 7.906 kB / 356.4 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.076e-05/0.09943, allocations: 12.38 kB / 356.4 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.09944, allocations: 4 kB / 356.4 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.09945, allocations: 3.938 kB / 356.4 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.09946, allocations: 0 / 356.4 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005082/0.09997, allocations: 432 kB / 356.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.09999, allocations: 0 / 356.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001501/0.1001, allocations: 27.94 kB / 356.8 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.1002, allocations: 7.922 kB / 356.8 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.1002, allocations: 7.938 kB / 356.9 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.1002, allocations: 4 kB / 356.9 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1002, allocations: 0 / 356.9 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002822/0.1005, allocations: 245.1 kB / 357.1 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.484e-05/0.1005, allocations: 92.98 kB / 357.2 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.1006, allocations: 0 / 357.2 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.449e-05/0.1007, allocations: 11.94 kB / 357.2 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.335e-05/0.1007, allocations: 4 kB / 357.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.253e-06/0.1007, allocations: 4 kB / 357.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.481e-05/0.1008, allocations: 102.6 kB / 357.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1008, allocations: 0 / 357.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002537/0.101, allocations: 28 kB / 357.3 MB, free: 12.66 MB / 302.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.0005622/0.1016, allocations: 0.7915 MB / 358.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001891/0.1018, allocations: 87.95 kB / 358.2 MB, free: 11.76 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.1018, allocations: 0 / 358.2 MB, free: 11.76 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.932e-05/0.1019, allocations: 43.86 kB / 358.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003988/0.1023, allocations: 20.27 kB / 358.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002036/0.1043, allocations: 1.802 MB / 360.1 MB, free: 9.789 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.1046, allocations: 0.7002 MB / 360.8 MB, free: 9.062 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.666e-05/0.1047, allocations: 12.88 kB / 360.8 MB, free: 9.051 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.674e-05/0.1048, allocations: 35.42 kB / 360.8 MB, free: 9.016 MB / 302.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1048, allocations: 0 / 360.8 MB, free: 9.016 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08495/0.1898, allocations: 2.52 MB / 363.3 MB, free: 6.594 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.268/8.458, allocations: 7.438 kB / 363.4 MB, free: 6.59 MB / 302.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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