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.001233/0.001233, allocations: 113.8 kB / 17.73 MB, free: 5.23 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.001262/0.001262, allocations: 187.1 kB / 18.66 MB, free: 4.305 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.331/1.331, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001757/0.001757, allocations: 55.91 kB / 328 MB, free: 3.82 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09318/0.09495, allocations: 46.61 MB / 374.6 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003445/0.09844, allocations: 1.767 MB / 376.4 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.09969, allocations: 0.6862 MB / 377.1 MB, free: 2.625 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.09989, allocations: 7.938 kB / 377.1 MB, free: 2.617 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.1, allocations: 15.86 kB / 377.1 MB, free: 2.602 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.1001, allocations: 35.7 kB / 377.1 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000277/0.1004, allocations: 47.8 kB / 377.2 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002031/0.1006, allocations: 119.4 kB / 377.3 MB, free: 2.402 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.1008, allocations: 33.38 kB / 377.3 MB, free: 2.371 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.892e-05/0.1009, allocations: 43.8 kB / 377.4 MB, free: 2.328 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.101, allocations: 55.77 kB / 377.4 MB, free: 2.273 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.101, allocations: 8 kB / 377.4 MB, free: 2.266 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.368e-05/0.1011, allocations: 23.98 kB / 377.5 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.893e-05/0.1012, allocations: 19.92 kB / 377.5 MB, free: 2.223 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.056e-05/0.1012, allocations: 51.73 kB / 377.5 MB, free: 2.172 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002601/0.1015, allocations: 139.5 kB / 377.7 MB, free: 2.035 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1015, allocations: 0 / 377.7 MB, free: 2.035 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1015, allocations: 0 / 377.7 MB, free: 2.035 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.1015, allocations: 0 / 377.7 MB, free: 2.035 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.0006727/0.1022, allocations: 415.2 kB / 378.1 MB, free: 1.582 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.1023, allocations: 8.031 kB / 378.1 MB, free: 1.574 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.879e-05/0.1023, allocations: 42.73 kB / 378.1 MB, free: 1.523 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001913/0.1025, allocations: 24.88 kB / 378.2 MB, free: 1.5 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.1028, allocations: 196.2 kB / 378.3 MB, free: 1.27 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.1028, allocations: 8.5 kB / 378.4 MB, free: 1.262 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.033e-05/0.1029, allocations: 20.08 kB / 378.4 MB, free: 1.242 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.1031, allocations: 93.66 kB / 378.5 MB, free: 1.145 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.1031, allocations: 0 / 378.5 MB, free: 1.145 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.1031, allocations: 0 / 378.5 MB, free: 1.145 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.1031, allocations: 4 kB / 378.5 MB, free: 1.141 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.1033, allocations: 71.83 kB / 378.5 MB, free: 1.07 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000748/0.104, allocations: 443.8 kB / 379 MB, free: 0.582 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003046/0.1044, allocations: 102.6 kB / 379.1 MB, free: 484 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.32e-05/0.1044, allocations: 36.84 kB / 379.1 MB, free: 444 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.1045, allocations: 0 / 379.1 MB, free: 444 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.1045, allocations: 30.56 kB / 379.1 MB, free: 404 kB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/0.1045, allocations: 0 / 379.1 MB, free: 404 kB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.1656/0.2702, allocations: 0.5263 MB / 379.7 MB, free: 12.89 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.2702, allocations: 53.89 kB / 379.7 MB, free: 12.83 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.273e-05/0.2703, allocations: 130.7 kB / 379.8 MB, free: 12.73 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.2703, allocations: 28.83 kB / 379.9 MB, free: 12.7 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.787e-05/0.2704, allocations: 107.2 kB / 380 MB, free: 12.61 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.2704, allocations: 44.92 kB / 380 MB, free: 12.59 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.161e-05/0.2705, allocations: 32.09 kB / 380.1 MB, free: 12.57 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.579e-05/0.2705, allocations: 319.6 kB / 380.4 MB, free: 12.25 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.431e-05/0.2706, allocations: 32.62 kB / 380.4 MB, free: 12.25 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.371e-05/0.2707, allocations: 58.83 kB / 380.5 MB, free: 12.22 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.2708, allocations: 102.2 kB / 380.6 MB, free: 12.19 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.2708, allocations: 3.594 kB / 380.6 MB, free: 12.19 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001992/0.271, allocations: 129.5 kB / 380.7 MB, free: 12.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.2711, allocations: 6.094 kB / 380.7 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.046e-06/0.2711, allocations: 4.562 kB / 380.7 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.2711, allocations: 2.703 kB / 380.7 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.2713, allocations: 34.61 kB / 380.7 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.2713, allocations: 2.266 kB / 380.7 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.277e-05/0.2713, allocations: 1.375 kB / 380.7 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.2713, allocations: 11.06 kB / 380.7 MB, free: 12.16 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 6.701e-05/0.2714, allocations: 128.5 kB / 380.9 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.2715, allocations: 14.33 kB / 380.9 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.024e-05/0.2715, allocations: 16.95 kB / 380.9 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.2715, allocations: 2.547 kB / 380.9 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2715, allocations: 1.375 kB / 380.9 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2715, allocations: 2.594 kB / 380.9 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004751/0.272, allocations: 428.2 kB / 381.3 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.272, allocations: 5.516 kB / 381.3 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.2722, allocations: 29.33 kB / 381.4 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.2722, allocations: 1.375 kB / 381.4 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.2722, allocations: 5.312 kB / 381.4 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.2722, allocations: 1.375 kB / 381.4 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2722, allocations: 1.375 kB / 381.4 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.2725, allocations: 256.3 kB / 381.6 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.665e-05/0.2725, allocations: 85.98 kB / 381.7 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.2725, allocations: 3.625 kB / 381.7 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.869e-05/0.2726, allocations: 6.984 kB / 381.7 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.978e-05/0.2726, allocations: 6.609 kB / 381.7 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.2727, allocations: 2.75 kB / 381.7 MB, free: 11.46 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.101e-05/0.2727, allocations: 101 kB / 381.8 MB, free: 11.39 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2727, allocations: 0 / 381.8 MB, free: 11.39 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002425/0.273, allocations: 25.62 kB / 381.8 MB, free: 11.39 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.0003917/0.2734, allocations: 0.7876 MB / 382.6 MB, free: 10.71 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001792/0.2735, allocations: 78.66 kB / 382.7 MB, free: 10.7 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/0.2736, allocations: 0 / 382.7 MB, free: 10.7 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.456e-05/0.2736, allocations: 46.27 kB / 382.8 MB, free: 10.7 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.274, allocations: 14.5 kB / 382.8 MB, free: 10.7 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/0.2758, allocations: 1.815 MB / 384.6 MB, free: 9.293 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001783/0.276, allocations: 0.701 MB / 385.3 MB, free: 8.598 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.182e-05/0.2761, allocations: 13.48 kB / 385.3 MB, free: 8.59 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.624e-05/0.2761, allocations: 30.45 kB / 385.3 MB, free: 8.582 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2761, allocations: 0 / 385.3 MB, free: 8.582 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02951/0.3056, allocations: 2.595 MB / 387.9 MB, free: 7.977 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.709/8.014, allocations: 6.125 kB / 387.9 MB, free: 7.973 MB / 318.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","/var/lib/jenkins1/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