Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_0_0_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.001403/0.001403, allocations: 105.7 kB / 17.06 MB, free: 6.012 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.001558/0.001558, allocations: 195 kB / 18 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.265/1.265, allocations: 222.9 MB / 241.7 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009756/0.0009757, allocations: 35.94 kB / 350.8 MB, free: 3.805 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2224, allocations: 49.45 MB / 400.2 MB, free: 8.441 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003129/0.2255, allocations: 1.759 MB / 402 MB, free: 7.062 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.2267, allocations: 0.6367 MB / 402.6 MB, free: 6.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001368/0.2268, allocations: 3.938 kB / 402.6 MB, free: 6.426 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001191/0.227, allocations: 15.86 kB / 402.6 MB, free: 6.41 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.975e-05/0.2271, allocations: 43.62 kB / 402.7 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.2274, allocations: 47.77 kB / 402.7 MB, free: 6.32 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001755/0.2276, allocations: 115.5 kB / 402.8 MB, free: 6.207 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.2277, allocations: 35.95 kB / 402.9 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.55e-05/0.2278, allocations: 43.8 kB / 402.9 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.281e-05/0.2279, allocations: 51.77 kB / 403 MB, free: 6.078 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.2279, allocations: 8 kB / 403 MB, free: 6.07 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.12e-05/0.228, allocations: 20 kB / 403 MB, free: 6.051 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.093e-05/0.228, allocations: 19.92 kB / 403 MB, free: 6.031 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.298e-05/0.2281, allocations: 55.73 kB / 403.1 MB, free: 5.977 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.2283, allocations: 129.3 kB / 403.2 MB, free: 5.852 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2283, allocations: 0 / 403.2 MB, free: 5.852 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2283, allocations: 3.938 kB / 403.2 MB, free: 5.848 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.2283, allocations: 0 / 403.2 MB, free: 5.848 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.0005339/0.2289, allocations: 403.3 kB / 403.6 MB, free: 5.406 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.2289, allocations: 8.031 kB / 403.6 MB, free: 5.398 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.41e-05/0.229, allocations: 42.73 kB / 403.6 MB, free: 5.348 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001809/0.2291, allocations: 28.83 kB / 403.7 MB, free: 5.32 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.2294, allocations: 200.1 kB / 403.9 MB, free: 5.086 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.2294, allocations: 8.562 kB / 403.9 MB, free: 5.078 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.965e-05/0.2294, allocations: 16.12 kB / 403.9 MB, free: 5.062 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.2296, allocations: 86.78 kB / 404 MB, free: 4.973 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.2296, allocations: 4 kB / 404 MB, free: 4.969 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.2297, allocations: 4 kB / 404 MB, free: 4.965 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.2297, allocations: 0 / 404 MB, free: 4.965 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.2298, allocations: 67.84 kB / 404 MB, free: 4.898 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007362/0.2305, allocations: 481.2 kB / 404.5 MB, free: 4.367 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002328/0.2308, allocations: 78.59 kB / 404.6 MB, free: 4.281 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.087e-05/0.2309, allocations: 32.89 kB / 404.6 MB, free: 4.246 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.477e-06/0.2309, allocations: 0 / 404.6 MB, free: 4.246 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.2309, allocations: 34.56 kB / 404.7 MB, free: 4.203 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.293e-06/0.2309, allocations: 0 / 404.7 MB, free: 4.203 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002118/0.2311, allocations: 97.77 kB / 404.8 MB, free: 4.102 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.2312, allocations: 59.33 kB / 404.8 MB, free: 4.031 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.06e-05/0.2312, allocations: 125.7 kB / 404.9 MB, free: 3.898 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.2313, allocations: 25.7 kB / 405 MB, free: 3.867 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.991e-05/0.2313, allocations: 111.9 kB / 405.1 MB, free: 3.754 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.2314, allocations: 31.55 kB / 405.1 MB, free: 3.723 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-05/0.2314, allocations: 25.66 kB / 405.1 MB, free: 3.691 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.336e-05/0.2315, allocations: 322.8 kB / 405.4 MB, free: 3.367 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.268e-05/0.2316, allocations: 20 kB / 405.5 MB, free: 3.348 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.368e-05/0.2316, allocations: 51.42 kB / 405.5 MB, free: 3.285 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.2317, allocations: 87.3 kB / 405.6 MB, free: 3.188 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.2317, allocations: 0 / 405.6 MB, free: 3.188 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001601/0.2319, allocations: 109.5 kB / 405.7 MB, free: 3.074 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.2319, allocations: 8 kB / 405.7 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2319, allocations: 0 / 405.7 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.232, allocations: 0 / 405.7 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.2321, allocations: 35.95 kB / 405.7 MB, free: 3.031 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.2321, allocations: 4 kB / 405.8 MB, free: 3.027 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.387e-05/0.2322, allocations: 11.98 kB / 405.8 MB, free: 3.016 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.2322, allocations: 320 / 405.8 MB, free: 3.016 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 8.016e-05/0.2322, allocations: 117.8 kB / 405.9 MB, free: 2.891 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/0.2323, allocations: 7.891 kB / 405.9 MB, free: 2.883 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.532e-05/0.2323, allocations: 16.38 kB / 405.9 MB, free: 2.867 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2323, allocations: 3.938 kB / 405.9 MB, free: 2.863 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2323, allocations: 0 / 405.9 MB, free: 2.863 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.2324, allocations: 4 kB / 405.9 MB, free: 2.859 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001941/0.2326, allocations: 209.4 kB / 406.1 MB, free: 2.605 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.2326, allocations: 0 / 406.1 MB, free: 2.605 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.2327, allocations: 16 kB / 406.1 MB, free: 2.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.2327, allocations: 0 / 406.1 MB, free: 2.59 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.2327, allocations: 7.984 kB / 406.1 MB, free: 2.582 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.2327, allocations: 11.94 kB / 406.1 MB, free: 2.57 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2327, allocations: 96 / 406.1 MB, free: 2.57 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.233, allocations: 211.3 kB / 406.4 MB, free: 2.348 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.831e-05/0.233, allocations: 81.11 kB / 406.4 MB, free: 2.25 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.233, allocations: 0 / 406.4 MB, free: 2.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.22e-05/0.2331, allocations: 7.938 kB / 406.4 MB, free: 2.242 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.081e-05/0.2331, allocations: 7.938 kB / 406.5 MB, free: 2.234 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.2332, allocations: 4.031 kB / 406.5 MB, free: 2.23 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.361e-05/0.2332, allocations: 91.28 kB / 406.5 MB, free: 2.141 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.924e-06/0.2332, allocations: 0 / 406.5 MB, free: 2.141 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002493/0.2335, allocations: 31.84 kB / 406.6 MB, free: 2.109 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.0004513/0.2339, allocations: 0.7358 MB / 407.3 MB, free: 1.348 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001456/0.2341, allocations: 63.91 kB / 407.4 MB, free: 1.285 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2341, allocations: 4 kB / 407.4 MB, free: 1.281 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.05e-05/0.2341, allocations: 31.92 kB / 407.4 MB, free: 1.25 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.2345, allocations: 20.12 kB / 407.4 MB, free: 1.23 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.2362, allocations: 1.7 MB / 409.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.2364, allocations: 0.7043 MB / 409.8 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.311e-05/0.2365, allocations: 8.422 kB / 409.8 MB, free: 14.69 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.173e-05/0.2365, allocations: 23.44 kB / 409.9 MB, free: 14.67 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2366, allocations: 3.938 kB / 409.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02904/0.2656, allocations: 2.317 MB / 412.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.234/7.499, allocations: 4.703 kB / 412.2 MB, free: 12.45 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake.fmu > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches