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.001036/0.001039, allocations: 101.7 kB / 17.58 MB, free: 5.426 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.001008/0.001008, allocations: 187.9 kB / 18.51 MB, free: 4.512 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.414/1.414, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.001268/0.001268, allocations: 56.14 kB / 280.8 MB, free: 3.078 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09489/0.09617, allocations: 46.63 MB / 327.4 MB, free: 4.387 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003511/0.09972, allocations: 1.754 MB / 329.1 MB, free: 2.613 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.101, allocations: 0.6795 MB / 329.8 MB, free: 1.926 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.1011, allocations: 3.938 kB / 329.8 MB, free: 1.922 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001476/0.1013, allocations: 19.8 kB / 329.8 MB, free: 1.902 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.1014, allocations: 43.69 kB / 329.9 MB, free: 1.859 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.1017, allocations: 43.81 kB / 329.9 MB, free: 1.816 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002015/0.1019, allocations: 123.4 kB / 330 MB, free: 1.695 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.102, allocations: 37.38 kB / 330.1 MB, free: 1.656 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.388e-05/0.1021, allocations: 43.8 kB / 330.1 MB, free: 1.613 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.1022, allocations: 47.78 kB / 330.2 MB, free: 1.566 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.1023, allocations: 8 kB / 330.2 MB, free: 1.559 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.1024, allocations: 28 kB / 330.2 MB, free: 1.531 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.409e-05/0.1024, allocations: 23.91 kB / 330.2 MB, free: 1.508 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.483e-05/0.1025, allocations: 51.73 kB / 330.3 MB, free: 1.457 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002245/0.1027, allocations: 127.8 kB / 330.4 MB, free: 1.332 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1027, allocations: 0 / 330.4 MB, free: 1.332 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1028, allocations: 0 / 330.4 MB, free: 1.332 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.1028, allocations: 0 / 330.4 MB, free: 1.332 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.0005799/0.1033, allocations: 411.3 kB / 330.8 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.1034, allocations: 12.03 kB / 330.8 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.329e-05/0.1035, allocations: 38.75 kB / 330.9 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002008/0.1037, allocations: 24.83 kB / 330.9 MB, free: 0.8008 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.1039, allocations: 200.1 kB / 331.1 MB, free: 0.5664 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.1039, allocations: 4.562 kB / 331.1 MB, free: 0.5625 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.529e-05/0.1039, allocations: 16.12 kB / 331.1 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.1041, allocations: 89.66 kB / 331.2 MB, free: 464 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.1042, allocations: 0 / 331.2 MB, free: 464 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.1042, allocations: 4 kB / 331.2 MB, free: 460 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.1042, allocations: 7.984 kB / 331.2 MB, free: 452 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.1043, allocations: 75.83 kB / 331.3 MB, free: 376 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007165/0.1051, allocations: 435.7 kB / 331.7 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002764/0.1053, allocations: 102.6 kB / 331.8 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.465e-05/0.1054, allocations: 37.06 kB / 331.8 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.1054, allocations: 3.938 kB / 331.8 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.1055, allocations: 34.56 kB / 331.9 MB, free: 15.69 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.372e-06/0.1055, allocations: 0 / 331.9 MB, free: 15.69 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.001334/0.1068, allocations: 0.534 MB / 332.4 MB, free: 15.08 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.1069, allocations: 51.41 kB / 332.5 MB, free: 15.02 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.107, allocations: 126 kB / 332.6 MB, free: 14.88 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.107, allocations: 29.64 kB / 332.6 MB, free: 14.85 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.717e-05/0.1071, allocations: 111.8 kB / 332.7 MB, free: 14.73 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.786e-05/0.1071, allocations: 47.3 kB / 332.8 MB, free: 14.69 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.921e-05/0.1072, allocations: 33.7 kB / 332.8 MB, free: 14.65 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.1073, allocations: 322.8 kB / 333.1 MB, free: 14.32 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.324e-05/0.1074, allocations: 20 kB / 333.1 MB, free: 14.3 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.077e-05/0.1075, allocations: 63.41 kB / 333.2 MB, free: 14.23 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.1076, allocations: 91.38 kB / 333.3 MB, free: 14.13 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1076, allocations: 0 / 333.3 MB, free: 14.13 MB / 286.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001983/0.1078, allocations: 133.5 kB / 333.4 MB, free: 13.99 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1078, allocations: 8 kB / 333.4 MB, free: 13.98 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1078, allocations: 0 / 333.4 MB, free: 13.98 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1079, allocations: 4.062 kB / 333.4 MB, free: 13.98 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.108, allocations: 35.92 kB / 333.5 MB, free: 13.95 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.108, allocations: 3.938 kB / 333.5 MB, free: 13.94 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.94e-05/0.1081, allocations: 4 kB / 333.5 MB, free: 13.94 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.1081, allocations: 8 kB / 333.5 MB, free: 13.93 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.065e-05/0.1082, allocations: 121.8 kB / 333.6 MB, free: 13.8 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.39e-05/0.1082, allocations: 11.91 kB / 333.6 MB, free: 13.79 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.867e-05/0.1083, allocations: 12.38 kB / 333.6 MB, free: 13.78 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1083, allocations: 4 kB / 333.6 MB, free: 13.77 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1083, allocations: 7.938 kB / 333.6 MB, free: 13.77 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.1083, allocations: 0 / 333.6 MB, free: 13.77 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004987/0.1088, allocations: 420.1 kB / 334 MB, free: 13.29 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.1088, allocations: 7.969 kB / 334 MB, free: 13.29 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.109, allocations: 31.94 kB / 334.1 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.109, allocations: 3.938 kB / 334.1 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.109, allocations: 12.05 kB / 334.1 MB, free: 13.24 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.109, allocations: 0 / 334.1 MB, free: 13.24 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.109, allocations: 3.984 kB / 334.1 MB, free: 13.23 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003002/0.1093, allocations: 250 kB / 334.3 MB, free: 12.97 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.891e-05/0.1094, allocations: 88.95 kB / 334.4 MB, free: 12.86 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.1094, allocations: 4.031 kB / 334.4 MB, free: 12.86 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.705e-05/0.1095, allocations: 12 kB / 334.4 MB, free: 12.85 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.919e-05/0.1095, allocations: 4 kB / 334.4 MB, free: 12.84 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.1095, allocations: 96 / 334.4 MB, free: 12.84 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.193e-05/0.1096, allocations: 99.7 kB / 334.5 MB, free: 12.75 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1096, allocations: 0 / 334.5 MB, free: 12.75 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002497/0.1099, allocations: 24 kB / 334.6 MB, free: 12.72 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.0005468/0.1104, allocations: 0.7893 MB / 335.4 MB, free: 11.9 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002188/0.1107, allocations: 95.83 kB / 335.4 MB, free: 11.8 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1107, allocations: 0 / 335.4 MB, free: 11.8 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.63e-05/0.1107, allocations: 39.92 kB / 335.5 MB, free: 11.77 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/0.1111, allocations: 20.61 kB / 335.5 MB, free: 11.75 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001846/0.113, allocations: 1.808 MB / 337.3 MB, free: 9.832 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.1132, allocations: 0.7118 MB / 338 MB, free: 9.094 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.194e-05/0.1133, allocations: 8.875 kB / 338 MB, free: 9.086 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.446e-05/0.1134, allocations: 31.42 kB / 338.1 MB, free: 9.055 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1134, allocations: 0 / 338.1 MB, free: 9.055 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02193/0.1353, allocations: 2.531 MB / 340.6 MB, free: 6.469 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.659/8.794, allocations: 7.656 kB / 340.6 MB, free: 6.461 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","/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