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.001704/0.001704, allocations: 114.3 kB / 17.07 MB, free: 6.016 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.00191/0.00191, allocations: 189.4 kB / 18 MB, free: 5.098 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.423/1.423, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 55.91 kB / 350.8 MB, free: 3.785 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2685, allocations: 49.44 MB / 400.2 MB, free: 8.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003071/0.2716, allocations: 1.756 MB / 402 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.2727, allocations: 0.6445 MB / 402.6 MB, free: 6.422 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.46e-05/0.2728, allocations: 0 / 402.6 MB, free: 6.422 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001251/0.2729, allocations: 19.8 kB / 402.6 MB, free: 6.402 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.182e-05/0.273, allocations: 35.69 kB / 402.7 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000247/0.2733, allocations: 51.81 kB / 402.7 MB, free: 6.316 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.2734, allocations: 119.4 kB / 402.8 MB, free: 6.199 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.2736, allocations: 39.47 kB / 402.9 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.18e-05/0.2737, allocations: 39.86 kB / 402.9 MB, free: 6.125 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.2738, allocations: 47.78 kB / 403 MB, free: 6.078 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.2738, allocations: 8 kB / 403 MB, free: 6.07 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.755e-05/0.2739, allocations: 23.98 kB / 403 MB, free: 6.047 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.774e-05/0.2739, allocations: 15.94 kB / 403 MB, free: 6.031 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.879e-05/0.274, allocations: 59.66 kB / 403.1 MB, free: 5.973 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.2742, allocations: 122.5 kB / 403.2 MB, free: 5.855 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2743, allocations: 4 kB / 403.2 MB, free: 5.852 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2743, allocations: 0 / 403.2 MB, free: 5.852 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.2743, allocations: 4 kB / 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.0005829/0.2749, allocations: 411.1 kB / 403.6 MB, free: 5.398 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.2749, allocations: 8.031 kB / 403.6 MB, free: 5.391 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.777e-05/0.275, allocations: 42.73 kB / 403.7 MB, free: 5.34 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001736/0.2751, allocations: 24.88 kB / 403.7 MB, free: 5.316 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.2754, allocations: 192.2 kB / 403.9 MB, free: 5.09 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.2754, allocations: 12.56 kB / 403.9 MB, free: 5.078 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.583e-05/0.2754, allocations: 24.06 kB / 403.9 MB, free: 5.055 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.2756, allocations: 86.97 kB / 404 MB, free: 4.965 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.2757, allocations: 0 / 404 MB, free: 4.965 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.2757, allocations: 4 kB / 404 MB, free: 4.961 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.2757, allocations: 4 kB / 404 MB, free: 4.957 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.2758, allocations: 59.91 kB / 404.1 MB, free: 4.898 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007382/0.2766, allocations: 485.3 kB / 404.5 MB, free: 4.363 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002569/0.2768, allocations: 86.56 kB / 404.6 MB, free: 4.27 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.964e-05/0.2769, allocations: 24.86 kB / 404.6 MB, free: 4.242 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.2769, allocations: 0 / 404.6 MB, free: 4.242 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.2769, allocations: 38.5 kB / 404.7 MB, free: 4.195 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 8.92e-07/0.277, allocations: 4 kB / 404.7 MB, free: 4.191 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002544/0.2772, allocations: 105.7 kB / 404.8 MB, free: 4.082 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.2773, allocations: 55.34 kB / 404.8 MB, free: 4.016 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.2774, allocations: 121.8 kB / 405 MB, free: 3.887 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.2774, allocations: 25.7 kB / 405 MB, free: 3.855 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.636e-05/0.2775, allocations: 104 kB / 405.1 MB, free: 3.75 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.439e-05/0.2775, allocations: 35.73 kB / 405.1 MB, free: 3.715 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/0.2776, allocations: 21.72 kB / 405.1 MB, free: 3.688 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.2777, allocations: 326.8 kB / 405.5 MB, free: 3.359 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.562e-05/0.2778, allocations: 19.98 kB / 405.5 MB, free: 3.34 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.39e-05/0.2779, allocations: 51.42 kB / 405.5 MB, free: 3.277 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.278, allocations: 79.38 kB / 405.6 MB, free: 3.188 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.278, allocations: 0 / 405.6 MB, free: 3.188 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001772/0.2782, allocations: 109.5 kB / 405.7 MB, free: 3.074 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.2782, allocations: 11.94 kB / 405.7 MB, free: 3.062 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.2782, allocations: 3.984 kB / 405.7 MB, free: 3.059 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.2782, allocations: 0 / 405.7 MB, free: 3.059 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.2783, allocations: 23.94 kB / 405.7 MB, free: 3.035 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.2783, allocations: 7.938 kB / 405.8 MB, free: 3.027 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.926e-05/0.2784, allocations: 3.953 kB / 405.8 MB, free: 3.023 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.2784, allocations: 12.09 kB / 405.8 MB, free: 3.012 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 0.0001014/0.2785, allocations: 125.8 kB / 405.9 MB, free: 2.879 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.2786, allocations: 7.953 kB / 405.9 MB, free: 2.871 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.503e-05/0.2786, allocations: 16.38 kB / 405.9 MB, free: 2.855 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.2786, allocations: 3.938 kB / 405.9 MB, free: 2.852 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.2786, allocations: 96 / 405.9 MB, free: 2.852 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.2786, allocations: 3.938 kB / 405.9 MB, free: 2.848 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002273/0.2789, allocations: 201.6 kB / 406.1 MB, free: 2.602 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2789, allocations: 0 / 406.1 MB, free: 2.602 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.279, allocations: 19.98 kB / 406.1 MB, free: 2.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.279, allocations: 4 kB / 406.1 MB, free: 2.578 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.279, allocations: 3.938 kB / 406.2 MB, free: 2.574 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.279, allocations: 7.938 kB / 406.2 MB, free: 2.566 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.279, allocations: 0 / 406.2 MB, free: 2.566 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.2793, allocations: 199.5 kB / 406.4 MB, free: 2.355 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.944e-05/0.2794, allocations: 85.06 kB / 406.4 MB, free: 2.254 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.2794, allocations: 0 / 406.4 MB, free: 2.254 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.346e-05/0.2795, allocations: 7.938 kB / 406.4 MB, free: 2.246 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.089e-05/0.2795, allocations: 16.11 kB / 406.5 MB, free: 2.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.2795, allocations: 0 / 406.5 MB, free: 2.23 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.851e-05/0.2796, allocations: 95.7 kB / 406.6 MB, free: 2.137 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2796, allocations: 0 / 406.6 MB, free: 2.137 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002416/0.2798, allocations: 31.89 kB / 406.6 MB, free: 2.105 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.0005438/0.2804, allocations: 0.7438 MB / 407.3 MB, free: 1.336 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001545/0.2805, allocations: 59.97 kB / 407.4 MB, free: 1.277 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.2805, allocations: 0 / 407.4 MB, free: 1.277 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.273e-05/0.2806, allocations: 31.92 kB / 407.4 MB, free: 1.246 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.2809, allocations: 19.88 kB / 407.4 MB, free: 1.227 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/0.2829, allocations: 1.732 MB / 409.2 MB, free: 15.4 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.2833, allocations: 0.6963 MB / 409.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.929e-05/0.2833, allocations: 12.42 kB / 409.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.595e-05/0.2834, allocations: 27.42 kB / 409.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2834, allocations: 0 / 409.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02417/0.3076, allocations: 2.29 MB / 412.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.611/7.919, allocations: 0.7031 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