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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_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.001132/0.001132, allocations: 103.4 kB / 17.16 MB, free: 6.32 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.001204/0.001204, allocations: 190 kB / 18.07 MB, free: 5.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.21/1.21, allocations: 205.1 MB / 223.9 MB, free: 12.48 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.001042/0.001042, allocations: 59.91 kB / 280.1 MB, free: 3.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07626/0.07731, allocations: 46.62 MB / 326.7 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003162/0.08053, allocations: 1.832 MB / 328.5 MB, free: 2.941 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001515/0.08207, allocations: 0.6748 MB / 329.2 MB, free: 2.258 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.08223, allocations: 0 / 329.2 MB, free: 2.258 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.0824, allocations: 11.92 kB / 329.2 MB, free: 2.246 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001479/0.08257, allocations: 39.7 kB / 329.3 MB, free: 2.207 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002509/0.08283, allocations: 35.89 kB / 329.3 MB, free: 2.172 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002244/0.08307, allocations: 115.4 kB / 329.4 MB, free: 2.059 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.08325, allocations: 37.36 kB / 329.4 MB, free: 2.02 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.926e-05/0.08336, allocations: 35.86 kB / 329.5 MB, free: 1.984 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.0835, allocations: 47.78 kB / 329.5 MB, free: 1.938 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.549e-05/0.08354, allocations: 4 kB / 329.5 MB, free: 1.934 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.08367, allocations: 23.98 kB / 329.5 MB, free: 1.91 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.106e-05/0.08372, allocations: 19.92 kB / 329.6 MB, free: 1.891 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.005e-05/0.08381, allocations: 47.73 kB / 329.6 MB, free: 1.844 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.08408, allocations: 131.8 kB / 329.7 MB, free: 1.715 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.0841, allocations: 0 / 329.7 MB, free: 1.715 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.08411, allocations: 0 / 329.7 MB, free: 1.715 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.08413, allocations: 0 / 329.7 MB, free: 1.715 MB / 270.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.0007079/0.08484, allocations: 403.4 kB / 330.1 MB, free: 1.273 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.0849, allocations: 16.03 kB / 330.1 MB, free: 1.258 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.555e-05/0.08499, allocations: 42.73 kB / 330.2 MB, free: 1.207 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002959/0.0853, allocations: 20.83 kB / 330.2 MB, free: 1.188 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.08555, allocations: 196.2 kB / 330.4 MB, free: 0.957 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.08558, allocations: 4.562 kB / 330.4 MB, free: 0.9531 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.874e-05/0.08563, allocations: 16.11 kB / 330.4 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.08583, allocations: 93.66 kB / 330.5 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.08585, allocations: 0 / 330.5 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.08587, allocations: 0 / 330.5 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.08589, allocations: 8 kB / 330.5 MB, free: 0.832 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.08602, allocations: 63.91 kB / 330.6 MB, free: 0.7695 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008437/0.08687, allocations: 443.6 kB / 331 MB, free: 284 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003426/0.08723, allocations: 114.5 kB / 331.1 MB, free: 160 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.962e-05/0.08734, allocations: 28.86 kB / 331.2 MB, free: 128 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.08738, allocations: 4 kB / 331.2 MB, free: 124 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.08742, allocations: 34.55 kB / 331.2 MB, free: 80 kB / 270.1 MB Notification: Performance of pre-optimization done (n=11): time 1.714e-06/0.08743, allocations: 0 / 331.2 MB, free: 80 kB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.001435/0.08887, allocations: 0.5265 MB / 331.7 MB, free: 15.48 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.08892, allocations: 51.41 kB / 331.8 MB, free: 15.42 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.536e-05/0.08901, allocations: 126 kB / 331.9 MB, free: 15.28 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.08903, allocations: 33.7 kB / 331.9 MB, free: 15.24 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.96e-05/0.0891, allocations: 107.9 kB / 332 MB, free: 15.13 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/0.08914, allocations: 47.28 kB / 332.1 MB, free: 15.09 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.62e-05/0.08919, allocations: 29.72 kB / 332.1 MB, free: 15.05 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.0893, allocations: 322.8 kB / 332.4 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.781e-05/0.08937, allocations: 31.92 kB / 332.5 MB, free: 14.7 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.875e-05/0.08945, allocations: 58.55 kB / 332.5 MB, free: 14.63 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.08958, allocations: 100.2 kB / 332.6 MB, free: 14.52 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.08959, allocations: 0 / 332.6 MB, free: 14.52 MB / 286.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001886/0.08978, allocations: 137.4 kB / 332.7 MB, free: 14.38 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.08981, allocations: 4 kB / 332.7 MB, free: 14.38 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.08982, allocations: 3.984 kB / 332.8 MB, free: 14.37 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.08983, allocations: 4 kB / 332.8 MB, free: 14.37 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.08997, allocations: 36 kB / 332.8 MB, free: 14.33 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.08999, allocations: 7.922 kB / 332.8 MB, free: 14.32 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.593e-05/0.09006, allocations: 7.906 kB / 332.8 MB, free: 14.32 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.09008, allocations: 4 kB / 332.8 MB, free: 14.31 MB / 286.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.414e-05/0.09018, allocations: 117.8 kB / 332.9 MB, free: 14.19 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/0.09021, allocations: 11.91 kB / 332.9 MB, free: 14.18 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.918e-05/0.09027, allocations: 12.38 kB / 332.9 MB, free: 14.16 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.09028, allocations: 0 / 332.9 MB, free: 14.16 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.09029, allocations: 7.938 kB / 333 MB, free: 14.16 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.09031, allocations: 11.98 kB / 333 MB, free: 14.14 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005798/0.0909, allocations: 412.1 kB / 333.4 MB, free: 13.68 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.09092, allocations: 4 kB / 333.4 MB, free: 13.68 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002264/0.09115, allocations: 32.02 kB / 333.4 MB, free: 13.64 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-06/0.09117, allocations: 11.88 kB / 333.4 MB, free: 13.63 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.0912, allocations: 8 kB / 333.4 MB, free: 13.62 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.09121, allocations: 0 / 333.4 MB, free: 13.62 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.09122, allocations: 4 kB / 333.4 MB, free: 13.62 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000384/0.09161, allocations: 253.1 kB / 333.7 MB, free: 13.35 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.628e-05/0.09169, allocations: 84.95 kB / 333.8 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.319e-05/0.09174, allocations: 4 kB / 333.8 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.09191, allocations: 4 kB / 333.8 MB, free: 13.24 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.09195, allocations: 12.03 kB / 333.8 MB, free: 13.23 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.09198, allocations: 4 kB / 333.8 MB, free: 13.23 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.284e-05/0.09208, allocations: 99.77 kB / 333.9 MB, free: 13.13 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.09209, allocations: 0 / 333.9 MB, free: 13.13 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004499/0.09255, allocations: 24 kB / 333.9 MB, free: 13.11 MB / 286.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.0006876/0.09325, allocations: 0.7881 MB / 334.7 MB, free: 12.28 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002449/0.09351, allocations: 75.92 kB / 334.8 MB, free: 12.21 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.09352, allocations: 0 / 334.8 MB, free: 12.21 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.688e-05/0.09358, allocations: 39.92 kB / 334.8 MB, free: 12.17 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005203/0.09411, allocations: 24.23 kB / 334.8 MB, free: 12.14 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002568/0.0967, allocations: 1.837 MB / 336.7 MB, free: 10.2 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.09705, allocations: 0.7083 MB / 337.4 MB, free: 9.469 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 9.641e-05/0.09716, allocations: 12.81 kB / 337.4 MB, free: 9.457 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.047e-05/0.09725, allocations: 35.42 kB / 337.4 MB, free: 9.422 MB / 286.1 MB Notification: Performance of SimCode: time 4.11e-07/0.09726, allocations: 192 / 337.4 MB, free: 9.422 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3716/0.4689, allocations: 2.379 MB / 339.8 MB, free: 7.016 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003224/0.4693, allocations: 213.2 kB / 340 MB, free: 6.758 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.023/2.493, allocations: 8 kB / 340 MB, free: 6.75 MB / 286.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake.fmu > 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