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.001242/0.001242, 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.001218/0.001219, 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.291/1.291, 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.00162/0.00162, allocations: 51.92 kB / 328 MB, free: 3.828 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08629/0.08792, allocations: 46.63 MB / 374.6 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002858/0.09081, allocations: 1.755 MB / 376.4 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.09187, allocations: 0.6862 MB / 377.1 MB, free: 2.633 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.536e-05/0.09196, allocations: 0 / 377.1 MB, free: 2.633 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001137/0.0921, allocations: 19.8 kB / 377.1 MB, free: 2.613 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.345e-05/0.09218, allocations: 39.69 kB / 377.1 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002322/0.09242, allocations: 43.81 kB / 377.2 MB, free: 2.531 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000166/0.09259, allocations: 119.4 kB / 377.3 MB, free: 2.414 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.09272, allocations: 31.95 kB / 377.3 MB, free: 2.383 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.65e-05/0.09278, allocations: 39.86 kB / 377.4 MB, free: 2.344 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.09289, allocations: 51.72 kB / 377.4 MB, free: 2.293 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.09291, allocations: 8 kB / 377.4 MB, free: 2.285 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.517e-05/0.093, allocations: 27.98 kB / 377.5 MB, free: 2.258 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.358e-05/0.09303, allocations: 19.94 kB / 377.5 MB, free: 2.238 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.66e-05/0.09309, allocations: 47.78 kB / 377.5 MB, free: 2.191 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.09331, allocations: 127.5 kB / 377.6 MB, free: 2.066 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.09332, allocations: 0 / 377.6 MB, free: 2.066 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.09333, allocations: 4 kB / 377.6 MB, free: 2.062 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.797e-06/0.09334, allocations: 0 / 377.6 MB, free: 2.062 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.0005438/0.09389, allocations: 411.2 kB / 378.1 MB, free: 1.613 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.09393, allocations: 8.031 kB / 378.1 MB, free: 1.605 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.44e-05/0.09398, allocations: 46.73 kB / 378.1 MB, free: 1.551 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/0.09415, allocations: 24.88 kB / 378.1 MB, free: 1.527 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.09438, allocations: 196.1 kB / 378.3 MB, free: 1.297 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.09441, allocations: 8.562 kB / 378.3 MB, free: 1.289 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.172e-05/0.09444, allocations: 12.12 kB / 378.3 MB, free: 1.277 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.09463, allocations: 93.66 kB / 378.4 MB, free: 1.18 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.09465, allocations: 3.953 kB / 378.4 MB, free: 1.176 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.09467, allocations: 4 kB / 378.4 MB, free: 1.172 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.09468, allocations: 4 kB / 378.4 MB, free: 1.168 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.09481, allocations: 59.91 kB / 378.5 MB, free: 1.109 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000699/0.09552, allocations: 485.3 kB / 379 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002366/0.09577, allocations: 90.56 kB / 379.1 MB, free: 488 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.053e-05/0.09583, allocations: 28.86 kB / 379.1 MB, free: 456 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.09585, allocations: 0 / 379.1 MB, free: 456 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.09587, allocations: 30.56 kB / 379.1 MB, free: 416 kB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.09588, allocations: 0 / 379.1 MB, free: 416 kB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002231/0.09611, allocations: 105.7 kB / 379.2 MB, free: 304 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.09616, allocations: 59.34 kB / 379.3 MB, free: 232 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.865e-05/0.09625, allocations: 121.8 kB / 379.4 MB, free: 100 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.09628, allocations: 25.7 kB / 379.4 MB, free: 68 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1568/0.2531, allocations: 109.6 kB / 379.5 MB, free: 12.93 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.869e-05/0.2532, allocations: 30.89 kB / 379.6 MB, free: 12.91 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.154e-05/0.2532, allocations: 24.73 kB / 379.6 MB, free: 12.9 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.761e-05/0.2533, allocations: 319.7 kB / 379.9 MB, free: 12.59 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.572e-05/0.2533, allocations: 22.81 kB / 379.9 MB, free: 12.59 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.89e-05/0.2534, allocations: 52.7 kB / 380 MB, free: 12.55 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.802e-05/0.2535, allocations: 80.17 kB / 380.1 MB, free: 12.52 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.2535, allocations: 3.531 kB / 380.1 MB, free: 12.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001758/0.2537, allocations: 110.2 kB / 380.2 MB, free: 12.49 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.2537, allocations: 6.109 kB / 380.2 MB, free: 12.49 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.2537, allocations: 1.031 kB / 380.2 MB, free: 12.49 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.2538, allocations: 2.172 kB / 380.2 MB, free: 12.49 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.2539, allocations: 33.53 kB / 380.2 MB, free: 12.49 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.2539, allocations: 2.078 kB / 380.2 MB, free: 12.49 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.861e-05/0.254, allocations: 13.72 kB / 380.2 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.254, allocations: 4.125 kB / 380.2 MB, free: 12.48 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 (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 6.528e-05/0.2541, allocations: 121 kB / 380.3 MB, free: 12.37 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.154e-05/0.2541, allocations: 9.766 kB / 380.4 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.62e-05/0.2541, allocations: 17.23 kB / 380.4 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.2541, allocations: 1.375 kB / 380.4 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2542, allocations: 0 / 380.4 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-06/0.2542, allocations: 2.766 kB / 380.4 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.2543, allocations: 201.5 kB / 380.6 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2543, allocations: 2.453 kB / 380.6 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.2545, allocations: 23.77 kB / 380.6 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2545, allocations: 0.6562 kB / 380.6 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.2545, allocations: 5.312 kB / 380.6 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.2545, allocations: 0.8438 kB / 380.6 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.2545, allocations: 1.438 kB / 380.6 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/0.2547, allocations: 206.8 kB / 380.8 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.098e-05/0.2547, allocations: 89.16 kB / 380.9 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.2548, allocations: 5.828 kB / 380.9 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.003e-05/0.2548, allocations: 1.328 kB / 380.9 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.746e-05/0.2548, allocations: 11.19 kB / 380.9 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.2549, allocations: 1.375 kB / 380.9 MB, free: 11.93 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.33e-05/0.2549, allocations: 91.03 kB / 381 MB, free: 11.86 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2549, allocations: 3.281 kB / 381 MB, free: 11.86 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002398/0.2551, allocations: 26.94 kB / 381 MB, free: 11.86 MB / 318.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.0002987/0.2554, allocations: 0.7414 MB / 381.8 MB, free: 11.2 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001462/0.2556, allocations: 62.62 kB / 381.8 MB, free: 11.19 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2556, allocations: 1.969 kB / 381.8 MB, free: 11.19 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.686e-05/0.2557, allocations: 31.73 kB / 381.9 MB, free: 11.19 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.256, allocations: 24.12 kB / 381.9 MB, free: 11.18 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.2572, allocations: 1.704 MB / 383.6 MB, free: 9.824 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.2574, allocations: 0.6982 MB / 384.3 MB, free: 9.129 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.797e-05/0.2574, allocations: 14.89 kB / 384.3 MB, free: 9.121 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.938e-05/0.2575, allocations: 27.91 kB / 384.3 MB, free: 9.113 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2575, allocations: 0.5312 kB / 384.3 MB, free: 9.113 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02627/0.2837, allocations: 2.293 MB / 386.6 MB, free: 8.539 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.795/8.079, allocations: 3.938 kB / 386.6 MB, free: 8.535 MB / 318.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches