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.0007693/0.0007693, allocations: 94.88 kB / 17.3 MB, free: 6.109 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.0009099/0.0009101, allocations: 178.5 kB / 18.21 MB, free: 5.41 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.362/1.362, allocations: 205.4 MB / 224.4 MB, free: 13.06 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.0004257/0.0004257, allocations: 8 kB / 281.5 MB, free: 3.332 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09139/0.09183, allocations: 47.58 MB / 329.1 MB, free: 3.676 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.001893/0.09376, allocations: 1.481 MB / 330.5 MB, free: 2.184 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009107/0.09469, allocations: 0.6671 MB / 331.2 MB, free: 1.508 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.242e-05/0.09476, allocations: 0 / 331.2 MB, free: 1.508 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.634e-05/0.09487, allocations: 11.92 kB / 331.2 MB, free: 1.496 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.446e-05/0.09494, allocations: 27.78 kB / 331.2 MB, free: 1.469 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001893/0.09514, allocations: 51.8 kB / 331.3 MB, free: 1.418 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.09529, allocations: 115.4 kB / 331.4 MB, free: 1.305 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.09542, allocations: 21.39 kB / 331.4 MB, free: 1.281 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.37e-05/0.09548, allocations: 39.86 kB / 331.5 MB, free: 1.242 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.383e-05/0.09558, allocations: 47.77 kB / 331.5 MB, free: 1.195 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.09561, allocations: 4 kB / 331.5 MB, free: 1.191 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.068e-05/0.09569, allocations: 27.98 kB / 331.5 MB, free: 1.164 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.188e-05/0.09571, allocations: 19.86 kB / 331.6 MB, free: 1.145 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.593e-05/0.0958, allocations: 73.44 kB / 331.6 MB, free: 1.066 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.09607, allocations: 127.8 kB / 331.8 MB, free: 0.9414 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.09608, allocations: 0 / 331.8 MB, free: 0.9414 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.09608, allocations: 0 / 331.8 MB, free: 0.9414 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.09609, allocations: 0 / 331.8 MB, free: 0.9414 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.0004709/0.09657, allocations: 391.5 kB / 332.1 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.09661, allocations: 8.031 kB / 332.1 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.111e-05/0.09666, allocations: 46.73 kB / 332.2 MB, free: 460 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001678/0.09683, allocations: 28.73 kB / 332.2 MB, free: 432 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.09701, allocations: 196.1 kB / 332.4 MB, free: 196 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.09703, allocations: 12.5 kB / 332.4 MB, free: 184 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.85e-05/0.09706, allocations: 12.12 kB / 332.4 MB, free: 172 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.09725, allocations: 89.66 kB / 332.5 MB, free: 76 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.09726, allocations: 0 / 332.5 MB, free: 76 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.09729, allocations: 8 kB / 332.5 MB, free: 68 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.0973, allocations: 4 kB / 332.5 MB, free: 64 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.09742, allocations: 63.91 kB / 332.6 MB, free: 0 / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006995/0.09813, allocations: 447.6 kB / 333 MB, free: 15.5 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002489/0.09839, allocations: 106.6 kB / 333.1 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.458e-05/0.09845, allocations: 36.83 kB / 333.2 MB, free: 15.35 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.09847, allocations: 0 / 333.2 MB, free: 15.35 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.09849, allocations: 34.56 kB / 333.2 MB, free: 15.31 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 8.21e-07/0.0985, allocations: 224 / 333.2 MB, free: 15.31 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.001231/0.09974, allocations: 0.5301 MB / 333.7 MB, free: 14.71 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.829e-05/0.09986, allocations: 55.41 kB / 333.8 MB, free: 14.64 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.416e-05/0.09996, allocations: 126 kB / 333.9 MB, free: 14.5 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.09999, allocations: 33.7 kB / 333.9 MB, free: 14.46 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.109e-05/0.1, allocations: 103.9 kB / 334.1 MB, free: 14.36 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.1001, allocations: 47.3 kB / 334.1 MB, free: 14.31 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.874e-05/0.1001, allocations: 17.72 kB / 334.1 MB, free: 14.29 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.687e-05/0.1002, allocations: 322.8 kB / 334.4 MB, free: 13.96 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.824e-05/0.1003, allocations: 23.98 kB / 334.5 MB, free: 13.94 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.062e-05/0.1004, allocations: 63.36 kB / 334.5 MB, free: 13.87 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.1005, allocations: 104.2 kB / 334.6 MB, free: 13.75 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/0.1005, allocations: 0 / 334.6 MB, free: 13.75 MB / 286.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001785/0.1007, allocations: 129.5 kB / 334.7 MB, free: 13.62 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.1007, allocations: 8 kB / 334.8 MB, free: 13.61 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1007, allocations: 4.062 kB / 334.8 MB, free: 13.61 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.1007, allocations: 0 / 334.8 MB, free: 13.61 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.1009, allocations: 35.92 kB / 334.8 MB, free: 13.57 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.1009, allocations: 3.938 kB / 334.8 MB, free: 13.57 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.344e-05/0.1009, allocations: 8 kB / 334.8 MB, free: 13.56 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.101, allocations: 4 kB / 334.8 MB, free: 13.56 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 7.562e-05/0.101, allocations: 117.8 kB / 334.9 MB, free: 13.43 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/0.1011, allocations: 7.906 kB / 334.9 MB, free: 13.43 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.37e-05/0.1011, allocations: 20.38 kB / 334.9 MB, free: 13.41 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1011, allocations: 0 / 334.9 MB, free: 13.41 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.1011, allocations: 7.922 kB / 335 MB, free: 13.4 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1012, allocations: 0 / 335 MB, free: 13.4 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004805/0.1016, allocations: 424.1 kB / 335.4 MB, free: 12.92 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1017, allocations: 0 / 335.4 MB, free: 12.92 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.1018, allocations: 31.92 kB / 335.4 MB, free: 12.89 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-05/0.1019, allocations: 12 kB / 335.4 MB, free: 12.88 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.1019, allocations: 0 / 335.4 MB, free: 12.88 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1019, allocations: 0 / 335.4 MB, free: 12.88 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1019, allocations: 4 kB / 335.4 MB, free: 12.88 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/0.1022, allocations: 253 kB / 335.7 MB, free: 12.61 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.6e-05/0.1022, allocations: 88.95 kB / 335.8 MB, free: 12.5 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.1023, allocations: 8 kB / 335.8 MB, free: 12.49 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.382e-05/0.1024, allocations: 4 kB / 335.8 MB, free: 12.49 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.158e-05/0.1024, allocations: 11.97 kB / 335.8 MB, free: 12.48 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.1024, allocations: 4 kB / 335.8 MB, free: 12.47 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.079e-05/0.1024, allocations: 95.27 kB / 335.9 MB, free: 12.38 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1025, allocations: 0 / 335.9 MB, free: 12.38 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002405/0.1027, allocations: 24 kB / 335.9 MB, free: 12.36 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.0004472/0.1032, allocations: 0.7839 MB / 336.7 MB, free: 11.54 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001526/0.1033, allocations: 76.2 kB / 336.8 MB, free: 11.46 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1033, allocations: 0 / 336.8 MB, free: 11.46 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.771e-05/0.1034, allocations: 48.05 kB / 336.8 MB, free: 11.42 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.1037, allocations: 24.94 kB / 336.8 MB, free: 11.39 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/0.1055, allocations: 1.92 MB / 338.7 MB, free: 9.371 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.1058, allocations: 0.7082 MB / 339.5 MB, free: 8.637 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 9.531e-05/0.1059, allocations: 8.875 kB / 339.5 MB, free: 8.625 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.212e-05/0.106, allocations: 35.44 kB / 339.5 MB, free: 8.59 MB / 286.1 MB Notification: Performance of SimCode: time 3.51e-07/0.106, allocations: 0 / 339.5 MB, free: 8.59 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01218/0.1182, allocations: 2.302 MB / 341.8 MB, free: 6.293 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002191/0.1185, allocations: 212.6 kB / 342 MB, free: 6.035 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.718/1.837, allocations: 0 / 342 MB, free: 6.035 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