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.001381/0.001381, allocations: 106.1 kB / 17.06 MB, free: 6.027 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.001571/0.001571, allocations: 195 kB / 18 MB, free: 5.105 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.348/1.348, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001049/0.001049, allocations: 39.94 kB / 350.8 MB, free: 3.793 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2439, 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.003121/0.2471, allocations: 1.759 MB / 402 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.2482, allocations: 0.6423 MB / 402.6 MB, free: 6.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.2483, allocations: 0 / 402.6 MB, free: 6.43 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001259/0.2485, allocations: 19.73 kB / 402.6 MB, free: 6.41 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.831e-05/0.2486, allocations: 35.7 kB / 402.7 MB, free: 6.375 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.2489, allocations: 51.81 kB / 402.7 MB, free: 6.324 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001812/0.2491, allocations: 115.4 kB / 402.8 MB, free: 6.211 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.2492, allocations: 31.95 kB / 402.9 MB, free: 6.18 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.822e-05/0.2493, allocations: 43.84 kB / 402.9 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.561e-05/0.2494, allocations: 47.78 kB / 403 MB, free: 6.09 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.2494, allocations: 8 kB / 403 MB, free: 6.082 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.069e-05/0.2495, allocations: 27.98 kB / 403 MB, free: 6.055 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.307e-05/0.2495, allocations: 23.86 kB / 403 MB, free: 6.031 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.582e-05/0.2496, allocations: 51.73 kB / 403.1 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.2498, allocations: 125.3 kB / 403.2 MB, free: 5.859 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.2498, allocations: 0 / 403.2 MB, free: 5.859 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2498, allocations: 0 / 403.2 MB, free: 5.859 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.2499, allocations: 0 / 403.2 MB, free: 5.859 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.0005404/0.2504, allocations: 411.3 kB / 403.6 MB, free: 5.41 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.2504, allocations: 8.031 kB / 403.6 MB, free: 5.402 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.435e-05/0.2505, allocations: 42.73 kB / 403.6 MB, free: 5.352 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001826/0.2507, allocations: 24.83 kB / 403.7 MB, free: 5.328 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.2509, allocations: 204.1 kB / 403.9 MB, free: 5.09 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.2509, allocations: 4.562 kB / 403.9 MB, free: 5.086 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.253e-05/0.251, allocations: 12.12 kB / 403.9 MB, free: 5.074 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.2511, allocations: 95.34 kB / 404 MB, free: 4.977 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.2512, allocations: 0 / 404 MB, free: 4.977 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.2512, allocations: 0 / 404 MB, free: 4.977 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.2512, allocations: 4 kB / 404 MB, free: 4.973 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.2513, allocations: 63.91 kB / 404 MB, free: 4.91 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007194/0.252, allocations: 485.2 kB / 404.5 MB, free: 4.375 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.2523, allocations: 86.56 kB / 404.6 MB, free: 4.281 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.429e-05/0.2523, allocations: 24.86 kB / 404.6 MB, free: 4.254 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.2524, allocations: 4 kB / 404.6 MB, free: 4.25 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.2524, allocations: 34.56 kB / 404.7 MB, free: 4.207 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.2524, allocations: 0 / 404.7 MB, free: 4.207 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002192/0.2526, allocations: 97.75 kB / 404.8 MB, free: 4.105 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.2527, allocations: 59.34 kB / 404.8 MB, free: 4.035 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.22e-05/0.2528, allocations: 121.8 kB / 404.9 MB, free: 3.906 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.2528, allocations: 25.7 kB / 405 MB, free: 3.875 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.696e-05/0.2528, allocations: 115.8 kB / 405.1 MB, free: 3.758 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/0.2529, allocations: 31.55 kB / 405.1 MB, free: 3.727 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.12e-05/0.2529, allocations: 21.72 kB / 405.1 MB, free: 3.699 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.499e-05/0.253, allocations: 318.8 kB / 405.4 MB, free: 3.379 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.458e-05/0.2531, allocations: 23.98 kB / 405.5 MB, free: 3.355 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.24e-05/0.2531, allocations: 58.42 kB / 405.5 MB, free: 3.289 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.2532, allocations: 75.38 kB / 405.6 MB, free: 3.203 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2533, allocations: 0 / 405.6 MB, free: 3.203 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001654/0.2534, allocations: 117.5 kB / 405.7 MB, free: 3.082 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.2534, allocations: 4 kB / 405.7 MB, free: 3.078 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.2535, allocations: 7.938 kB / 405.7 MB, free: 3.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.2535, allocations: 96 / 405.7 MB, free: 3.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.2536, allocations: 31.92 kB / 405.7 MB, free: 3.039 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.2536, allocations: 3.938 kB / 405.8 MB, free: 3.035 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.902e-05/0.2537, allocations: 11.98 kB / 405.8 MB, free: 3.023 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.2537, allocations: 4 kB / 405.8 MB, free: 3.02 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 7.755e-05/0.2538, allocations: 113.8 kB / 405.9 MB, free: 2.898 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.2538, allocations: 7.906 kB / 405.9 MB, free: 2.891 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.395e-05/0.2539, allocations: 12.38 kB / 405.9 MB, free: 2.879 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.2539, allocations: 7.938 kB / 405.9 MB, free: 2.871 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.2539, allocations: 4 kB / 405.9 MB, free: 2.867 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.2539, allocations: 0 / 405.9 MB, free: 2.867 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002062/0.2541, allocations: 205.5 kB / 406.1 MB, free: 2.617 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2541, allocations: 0 / 406.1 MB, free: 2.617 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001293/0.2542, allocations: 23.98 kB / 406.1 MB, free: 2.594 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.2542, allocations: 3.938 kB / 406.1 MB, free: 2.59 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.2543, allocations: 4.094 kB / 406.1 MB, free: 2.586 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.2543, allocations: 7.875 kB / 406.1 MB, free: 2.578 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2543, allocations: 0 / 406.1 MB, free: 2.578 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002159/0.2545, allocations: 203.4 kB / 406.3 MB, free: 2.363 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.019e-05/0.2545, allocations: 77.11 kB / 406.4 MB, free: 2.27 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.2546, allocations: 8 kB / 406.4 MB, free: 2.262 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.639e-05/0.2547, allocations: 7.938 kB / 406.4 MB, free: 2.254 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.574e-05/0.2547, allocations: 4.031 kB / 406.4 MB, free: 2.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-06/0.2547, allocations: 4 kB / 406.4 MB, free: 2.246 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.01e-05/0.2547, allocations: 95.64 kB / 406.5 MB, free: 2.152 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2547, allocations: 0 / 406.5 MB, free: 2.152 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002474/0.255, allocations: 27.91 kB / 406.6 MB, free: 2.125 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.0004324/0.2554, allocations: 0.7439 MB / 407.3 MB, free: 1.355 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001437/0.2556, allocations: 67.97 kB / 407.4 MB, free: 1.289 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2556, allocations: 0 / 407.4 MB, free: 1.289 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.208e-05/0.2557, allocations: 31.92 kB / 407.4 MB, free: 1.258 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.256, allocations: 24.11 kB / 407.4 MB, free: 1.234 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/0.2577, allocations: 1.704 MB / 409.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.2579, allocations: 0.7041 MB / 409.8 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.078e-05/0.258, allocations: 8.375 kB / 409.8 MB, free: 14.69 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.418e-05/0.2581, allocations: 31.42 kB / 409.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2581, allocations: 4 kB / 409.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02019/0.2783, allocations: 2.294 MB / 412.2 MB, free: 12.46 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.203/7.482, allocations: 8.641 kB / 412.2 MB, free: 12.46 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