Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.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.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_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.0007387/0.0007388, allocations: 94.36 kB / 17.3 MB, free: 6.395 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.0007579/0.000758, allocations: 172.5 kB / 18.2 MB, free: 5.551 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.194/1.194, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004218/0.0004215, allocations: 8.375 kB / 281.5 MB, free: 3.324 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07759/0.07802, allocations: 47.59 MB / 329.1 MB, free: 3.664 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.001732/0.07979, allocations: 1.473 MB / 330.5 MB, free: 2.18 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009497/0.08075, allocations: 0.6632 MB / 331.2 MB, free: 1.512 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.14e-05/0.08083, allocations: 4 kB / 331.2 MB, free: 1.508 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.482e-05/0.08092, allocations: 7.922 kB / 331.2 MB, free: 1.5 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.278e-05/0.08099, allocations: 31.7 kB / 331.2 MB, free: 1.469 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001823/0.08118, allocations: 39.89 kB / 331.3 MB, free: 1.43 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.08132, allocations: 115.4 kB / 331.4 MB, free: 1.316 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.08143, allocations: 35.95 kB / 331.4 MB, free: 1.281 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.455e-05/0.08148, allocations: 31.86 kB / 331.5 MB, free: 1.25 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.718e-05/0.08157, allocations: 47.72 kB / 331.5 MB, free: 1.203 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.08159, allocations: 8 kB / 331.5 MB, free: 1.195 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.433e-05/0.08166, allocations: 16 kB / 331.5 MB, free: 1.18 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.08168, allocations: 15.92 kB / 331.5 MB, free: 1.164 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.754e-05/0.08175, allocations: 77.48 kB / 331.6 MB, free: 1.082 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.08189, allocations: 115.9 kB / 331.7 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.0819, allocations: 0 / 331.7 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.08192, allocations: 4 kB / 331.7 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.08192, allocations: 0 / 331.7 MB, free: 0.9648 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.0003965/0.08232, allocations: 387.4 kB / 332.1 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.08237, allocations: 12.03 kB / 332.1 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.448e-05/0.08241, allocations: 38.75 kB / 332.2 MB, free: 492 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.08259, allocations: 28.72 kB / 332.2 MB, free: 464 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.08275, allocations: 196.1 kB / 332.4 MB, free: 228 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.08277, allocations: 12.56 kB / 332.4 MB, free: 216 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/0.08281, allocations: 11.94 kB / 332.4 MB, free: 204 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.08298, allocations: 89.66 kB / 332.5 MB, free: 108 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.083, allocations: 3.984 kB / 332.5 MB, free: 104 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.08302, allocations: 4 kB / 332.5 MB, free: 100 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.08303, allocations: 4 kB / 332.5 MB, free: 96 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.08315, allocations: 55.91 kB / 332.6 MB, free: 40 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006326/0.08379, allocations: 481.1 kB / 333 MB, free: 15.5 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.08401, allocations: 90.45 kB / 333.1 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.119e-05/0.08406, allocations: 24.86 kB / 333.1 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.08408, allocations: 4.031 kB / 333.1 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.08411, allocations: 42.56 kB / 333.2 MB, free: 15.32 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.08412, allocations: 0 / 333.2 MB, free: 15.32 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.000202/0.08432, allocations: 105.8 kB / 333.3 MB, free: 15.21 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.08436, allocations: 51.41 kB / 333.3 MB, free: 15.15 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.008e-05/0.08443, allocations: 117.8 kB / 333.5 MB, free: 15.03 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.08446, allocations: 29.7 kB / 333.5 MB, free: 14.99 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.3e-05/0.08451, allocations: 111.8 kB / 333.6 MB, free: 14.88 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.08454, allocations: 31.56 kB / 333.6 MB, free: 14.85 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.536e-05/0.08457, allocations: 21.7 kB / 333.6 MB, free: 14.82 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.803e-05/0.08467, allocations: 314.8 kB / 334 MB, free: 14.5 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.064e-05/0.08471, allocations: 23.98 kB / 334 MB, free: 14.48 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.539e-05/0.08477, allocations: 51.42 kB / 334 MB, free: 14.42 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.08488, allocations: 79.38 kB / 334.1 MB, free: 14.33 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.08489, allocations: 0 / 334.1 MB, free: 14.33 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001551/0.08505, allocations: 121.4 kB / 334.2 MB, free: 14.2 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.08507, allocations: 4 kB / 334.2 MB, free: 14.2 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.08508, allocations: 4 kB / 334.2 MB, free: 14.2 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.0851, allocations: 3.938 kB / 334.2 MB, free: 14.19 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.08521, allocations: 27.92 kB / 334.3 MB, free: 14.16 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.08522, allocations: 4 kB / 334.3 MB, free: 14.16 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.595e-05/0.08529, allocations: 8.031 kB / 334.3 MB, free: 14.15 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.0853, allocations: 8 kB / 334.3 MB, free: 14.14 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 (13): * Single equations (assignments): 13 * 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.147e-05/0.08538, allocations: 113.8 kB / 334.4 MB, free: 14.02 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.843e-05/0.08541, allocations: 7.906 kB / 334.4 MB, free: 14.02 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.579e-05/0.08545, allocations: 16.38 kB / 334.4 MB, free: 14 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.08546, allocations: 7.922 kB / 334.4 MB, free: 13.99 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.08547, allocations: 0 / 334.4 MB, free: 13.99 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.08548, allocations: 3.984 kB / 334.4 MB, free: 13.99 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.08567, allocations: 197.6 kB / 334.6 MB, free: 13.75 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.08568, allocations: 4 kB / 334.6 MB, free: 13.74 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.08581, allocations: 27.86 kB / 334.7 MB, free: 13.71 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.08582, allocations: 0 / 334.7 MB, free: 13.71 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.08583, allocations: 0 / 334.7 MB, free: 13.71 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.08584, allocations: 7.938 kB / 334.7 MB, free: 13.71 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.08584, allocations: 0 / 334.7 MB, free: 13.71 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002068/0.08605, allocations: 203.7 kB / 334.9 MB, free: 13.49 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.952e-05/0.0861, allocations: 85.02 kB / 334.9 MB, free: 13.39 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.08613, allocations: 8.031 kB / 335 MB, free: 13.38 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.605e-05/0.08621, allocations: 7.938 kB / 335 MB, free: 13.38 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.418e-05/0.08623, allocations: 4 kB / 335 MB, free: 13.37 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.08624, allocations: 0 / 335 MB, free: 13.37 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.979e-05/0.08629, allocations: 95.27 kB / 335.1 MB, free: 13.28 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.0863, allocations: 0 / 335.1 MB, free: 13.28 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000234/0.08654, allocations: 31.84 kB / 335.1 MB, free: 13.25 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (eddyCurrentTorque.phi,inertia.w,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 (8): * Single equations (assignments): 8 * 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.0004013/0.08694, allocations: 0.7358 MB / 335.8 MB, free: 12.48 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001262/0.08708, allocations: 63.95 kB / 335.9 MB, free: 12.42 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.08709, allocations: 0 / 335.9 MB, free: 12.42 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.257e-05/0.08714, allocations: 23.94 kB / 335.9 MB, free: 12.39 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.08747, allocations: 28.91 kB / 335.9 MB, free: 12.37 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.08907, allocations: 1.808 MB / 337.7 MB, free: 10.46 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.08932, allocations: 0.6965 MB / 338.4 MB, free: 9.738 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.077e-05/0.08938, allocations: 12.42 kB / 338.5 MB, free: 9.727 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.925e-05/0.08943, allocations: 27.42 kB / 338.5 MB, free: 9.699 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.08944, allocations: 0 / 338.5 MB, free: 9.699 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1707/0.2601, allocations: 2.029 MB / 340.5 MB, free: 7.676 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001821/0.2603, allocations: 212.7 kB / 340.7 MB, free: 7.414 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.907/2.168, allocations: 3.938 kB / 340.7 MB, free: 7.41 MB / 286.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake.fmu > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches