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.001701/0.001701, allocations: 100.3 kB / 17.58 MB, free: 5.418 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.0023/0.002301, allocations: 192.1 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.456/2.456, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.002433/0.002433, allocations: 52.39 kB / 280.8 MB, free: 3.074 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1632, allocations: 46.62 MB / 327.4 MB, free: 4.383 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.00497/0.1682, allocations: 1.758 MB / 329.1 MB, free: 2.605 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.1699, allocations: 0.6834 MB / 329.8 MB, free: 1.914 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001494/0.17, allocations: 7.938 kB / 329.8 MB, free: 1.906 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002306/0.1703, allocations: 15.86 kB / 329.8 MB, free: 1.891 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.1704, allocations: 31.7 kB / 329.9 MB, free: 1.859 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003805/0.1708, allocations: 51.8 kB / 329.9 MB, free: 1.809 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000224/0.1711, allocations: 123.4 kB / 330 MB, free: 1.688 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002541/0.1713, allocations: 27.97 kB / 330.1 MB, free: 1.66 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.222e-05/0.1714, allocations: 43.8 kB / 330.1 MB, free: 1.617 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.1716, allocations: 47.78 kB / 330.2 MB, free: 1.57 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.644e-05/0.1716, allocations: 8 kB / 330.2 MB, free: 1.562 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.1717, allocations: 31.98 kB / 330.2 MB, free: 1.531 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.007e-05/0.1718, allocations: 15.92 kB / 330.2 MB, free: 1.516 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.485e-05/0.1719, allocations: 51.8 kB / 330.3 MB, free: 1.465 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002865/0.1721, allocations: 123.9 kB / 330.4 MB, free: 1.344 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.325e-06/0.1722, allocations: 0 / 330.4 MB, free: 1.344 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1722, allocations: 0 / 330.4 MB, free: 1.344 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.1722, allocations: 0 / 330.4 MB, free: 1.344 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.0007974/0.173, allocations: 411.2 kB / 330.8 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.391e-05/0.1731, allocations: 8.031 kB / 330.8 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.26e-05/0.1731, allocations: 42.75 kB / 330.8 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002815/0.1734, allocations: 28.81 kB / 330.9 MB, free: 0.8086 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/0.1737, allocations: 192.2 kB / 331.1 MB, free: 0.582 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.1738, allocations: 4.562 kB / 331.1 MB, free: 0.5781 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.524e-05/0.1738, allocations: 16.12 kB / 331.1 MB, free: 0.5625 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002218/0.174, allocations: 89.66 kB / 331.2 MB, free: 480 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.1741, allocations: 3.984 kB / 331.2 MB, free: 476 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.1741, allocations: 0 / 331.2 MB, free: 476 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.1741, allocations: 7.938 kB / 331.2 MB, free: 468 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/0.1743, allocations: 71.84 kB / 331.2 MB, free: 396 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008436/0.1751, allocations: 473.2 kB / 331.7 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002973/0.1754, allocations: 90.58 kB / 331.8 MB, free: 15.76 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.206e-05/0.1755, allocations: 24.89 kB / 331.8 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.1755, allocations: 4 kB / 331.8 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.1755, allocations: 34.56 kB / 331.9 MB, free: 15.69 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 2.965e-06/0.1755, allocations: 0 / 331.9 MB, free: 15.69 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002589/0.1758, allocations: 93.53 kB / 331.9 MB, free: 15.59 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001416/0.176, allocations: 59.28 kB / 332 MB, free: 15.52 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.1761, allocations: 125.8 kB / 332.1 MB, free: 15.39 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.1761, allocations: 25.7 kB / 332.2 MB, free: 15.36 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.1763, allocations: 111.9 kB / 332.3 MB, free: 15.24 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.1763, allocations: 31.7 kB / 332.3 MB, free: 15.21 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.927e-05/0.1764, allocations: 29.7 kB / 332.3 MB, free: 15.18 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001958/0.1766, allocations: 314.8 kB / 332.6 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.1767, allocations: 23.98 kB / 332.7 MB, free: 14.84 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.614e-05/0.1768, allocations: 55.42 kB / 332.7 MB, free: 14.77 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.177, allocations: 75.31 kB / 332.8 MB, free: 14.68 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.177, allocations: 0 / 332.8 MB, free: 14.68 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003471/0.1773, allocations: 109.5 kB / 332.9 MB, free: 14.57 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.1773, allocations: 12.09 kB / 332.9 MB, free: 14.56 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.1774, allocations: 0 / 332.9 MB, free: 14.56 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/0.1774, allocations: 4 kB / 332.9 MB, free: 14.55 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.1776, allocations: 31.86 kB / 332.9 MB, free: 14.52 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.1776, allocations: 0 / 332.9 MB, free: 14.52 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.1777, allocations: 15.84 kB / 332.9 MB, free: 14.51 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.1777, allocations: 4 kB / 333 MB, free: 14.5 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 0.0001856/0.1779, allocations: 113.8 kB / 333.1 MB, free: 14.38 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.292e-05/0.178, allocations: 7.984 kB / 333.1 MB, free: 14.38 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.187e-05/0.1781, allocations: 20.36 kB / 333.1 MB, free: 14.36 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.1781, allocations: 3.938 kB / 333.1 MB, free: 14.35 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.1781, allocations: 7.875 kB / 333.1 MB, free: 14.34 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.1781, allocations: 4 kB / 333.1 MB, free: 14.34 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002428/0.1784, allocations: 197.5 kB / 333.3 MB, free: 14.1 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1784, allocations: 96 / 333.3 MB, free: 14.1 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.1785, allocations: 23.92 kB / 333.3 MB, free: 14.07 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1786, allocations: 0 / 333.3 MB, free: 14.07 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.1786, allocations: 8 kB / 333.3 MB, free: 14.07 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1786, allocations: 3.938 kB / 333.3 MB, free: 14.06 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1786, allocations: 0 / 333.3 MB, free: 14.06 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004321/0.179, allocations: 203.9 kB / 333.5 MB, free: 13.85 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.669e-05/0.1791, allocations: 85.02 kB / 333.6 MB, free: 13.75 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.1791, allocations: 8.031 kB / 333.6 MB, free: 13.74 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.812e-05/0.1792, allocations: 3.938 kB / 333.6 MB, free: 13.73 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-05/0.1792, allocations: 7.938 kB / 333.6 MB, free: 13.73 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.1792, allocations: 4 kB / 333.6 MB, free: 13.72 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.394e-05/0.1793, allocations: 95.2 kB / 333.7 MB, free: 13.63 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1793, allocations: 4 kB / 333.7 MB, free: 13.62 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002773/0.1796, allocations: 27.94 kB / 333.8 MB, free: 13.6 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.000624/0.1803, allocations: 0.728 MB / 334.5 MB, free: 12.84 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001929/0.1805, allocations: 67.89 kB / 334.6 MB, free: 12.77 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/0.1805, allocations: 4.188 kB / 334.6 MB, free: 12.77 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.266e-05/0.1805, allocations: 27.98 kB / 334.6 MB, free: 12.74 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004872/0.181, allocations: 20.55 kB / 334.6 MB, free: 12.72 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.1832, allocations: 1.712 MB / 336.3 MB, free: 10.91 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.1835, allocations: 0.7002 MB / 337 MB, free: 10.18 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.847e-05/0.1836, allocations: 12.42 kB / 337 MB, free: 10.17 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.968e-05/0.1837, allocations: 27.42 kB / 337.1 MB, free: 10.14 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1837, allocations: 0 / 337.1 MB, free: 10.14 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02879/0.2125, allocations: 2.234 MB / 339.3 MB, free: 7.859 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/12.81, allocations: 7.688 kB / 339.3 MB, free: 7.852 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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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