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.001568/0.001568, allocations: 110.2 kB / 16.92 MB, free: 6.332 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.00189/0.00189, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.343/1.343, allocations: 222.9 MB / 241.5 MB, free: 15.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 45.27 kB / 300.7 MB, free: 5.785 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1278, allocations: 49.45 MB / 350.2 MB, free: 4.328 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.004541/0.1324, allocations: 1.752 MB / 351.9 MB, free: 2.559 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.1339, allocations: 0.6387 MB / 352.6 MB, free: 1.914 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.1341, allocations: 0 / 352.6 MB, free: 1.914 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001548/0.1343, allocations: 23.84 kB / 352.6 MB, free: 1.891 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.1345, allocations: 35.7 kB / 352.6 MB, free: 1.855 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003007/0.1348, allocations: 43.81 kB / 352.7 MB, free: 1.812 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002379/0.135, allocations: 119.4 kB / 352.8 MB, free: 1.695 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.1352, allocations: 31.95 kB / 352.8 MB, free: 1.664 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.515e-05/0.1353, allocations: 43.81 kB / 352.8 MB, free: 1.621 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.1354, allocations: 43.78 kB / 352.9 MB, free: 1.578 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.877e-05/0.1355, allocations: 8 kB / 352.9 MB, free: 1.57 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.1356, allocations: 27.98 kB / 352.9 MB, free: 1.543 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.69e-05/0.1357, allocations: 23.91 kB / 352.9 MB, free: 1.52 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.54e-05/0.1358, allocations: 51.8 kB / 353 MB, free: 1.469 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002678/0.1361, allocations: 119.9 kB / 353.1 MB, free: 1.352 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1361, allocations: 0 / 353.1 MB, free: 1.352 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1361, allocations: 4 kB / 353.1 MB, free: 1.348 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.732e-06/0.1361, allocations: 0 / 353.1 MB, free: 1.348 MB / 286.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.0006999/0.1368, allocations: 403.3 kB / 353.5 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.1369, allocations: 19.91 kB / 353.5 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.323e-05/0.1369, allocations: 38.75 kB / 353.6 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002759/0.1372, allocations: 28.83 kB / 353.6 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.1375, allocations: 196.2 kB / 353.8 MB, free: 0.582 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.1375, allocations: 8.562 kB / 353.8 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.524e-05/0.1376, allocations: 8.125 kB / 353.8 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002706/0.1379, allocations: 105 kB / 353.9 MB, free: 472 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.1379, allocations: 3.906 kB / 353.9 MB, free: 468 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.1379, allocations: 4 kB / 353.9 MB, free: 464 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.138, allocations: 8 kB / 353.9 MB, free: 456 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001943/0.1382, allocations: 59.84 kB / 354 MB, free: 396 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.1393, allocations: 473.3 kB / 354.4 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003478/0.1396, allocations: 98.5 kB / 354.5 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.398e-05/0.1397, allocations: 24.86 kB / 354.6 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/0.1397, allocations: 0 / 354.6 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.1398, allocations: 30.56 kB / 354.6 MB, free: 15.69 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 2.074e-06/0.1398, allocations: 0 / 354.6 MB, free: 15.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003532/0.1402, allocations: 101.6 kB / 354.7 MB, free: 15.58 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.1402, allocations: 59.34 kB / 354.8 MB, free: 15.51 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.1404, allocations: 117.8 kB / 354.9 MB, free: 15.39 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.1404, allocations: 25.7 kB / 354.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.745e-05/0.1405, allocations: 107.9 kB / 355 MB, free: 15.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.306e-05/0.1405, allocations: 31.55 kB / 355 MB, free: 15.21 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.497e-05/0.1406, allocations: 33.7 kB / 355.1 MB, free: 15.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1408, allocations: 318.8 kB / 355.4 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.529e-05/0.1409, allocations: 23.98 kB / 355.4 MB, free: 14.83 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.141, allocations: 58.67 kB / 355.5 MB, free: 14.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.1412, allocations: 79.38 kB / 355.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1412, allocations: 0 / 355.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002571/0.1415, allocations: 113.5 kB / 355.6 MB, free: 14.56 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.1415, allocations: 4 kB / 355.6 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.1415, allocations: 4 kB / 355.6 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.1415, allocations: 3.938 kB / 355.7 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001797/0.1417, allocations: 27.92 kB / 355.7 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.1417, allocations: 4 kB / 355.7 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.766e-05/0.1418, allocations: 11.84 kB / 355.7 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.1418, allocations: 4.094 kB / 355.7 MB, free: 14.5 MB / 302.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.0001258/0.142, allocations: 125.7 kB / 355.8 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.152e-05/0.1421, allocations: 15.92 kB / 355.8 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.909e-05/0.1421, allocations: 12.38 kB / 355.9 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.1421, allocations: 3.938 kB / 355.9 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.1422, allocations: 0 / 355.9 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.1422, allocations: 3.984 kB / 355.9 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003239/0.1425, allocations: 193.8 kB / 356 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1425, allocations: 4 kB / 356.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002089/0.1427, allocations: 23.98 kB / 356.1 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.1428, allocations: 0 / 356.1 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.1428, allocations: 4 kB / 356.1 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.1428, allocations: 3.938 kB / 356.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1428, allocations: 8 kB / 356.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003504/0.1432, allocations: 203.4 kB / 356.3 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.486e-05/0.1433, allocations: 85.02 kB / 356.4 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.1433, allocations: 0 / 356.4 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.1434, allocations: 3.938 kB / 356.4 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.058e-05/0.1435, allocations: 8.031 kB / 356.4 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/0.1435, allocations: 0 / 356.4 MB, free: 13.72 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.205e-05/0.1436, allocations: 99.27 kB / 356.5 MB, free: 13.62 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1436, allocations: 4 kB / 356.5 MB, free: 13.62 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004886/0.1441, allocations: 23.94 kB / 356.5 MB, free: 13.59 MB / 302.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.0006756/0.1448, allocations: 0.7357 MB / 357.2 MB, free: 12.83 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000235/0.145, allocations: 64.08 kB / 357.3 MB, free: 12.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1451, allocations: 8 kB / 357.3 MB, free: 12.76 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.192e-05/0.1451, allocations: 28 kB / 357.3 MB, free: 12.73 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005938/0.1458, allocations: 19.92 kB / 357.4 MB, free: 12.71 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002799/0.1486, allocations: 1.723 MB / 359.1 MB, free: 10.89 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.149, allocations: 0.7041 MB / 359.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.141e-05/0.1491, allocations: 4.422 kB / 359.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.457e-05/0.1491, allocations: 27.44 kB / 359.8 MB, free: 10.13 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1492, allocations: 0 / 359.8 MB, free: 10.13 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02591/0.1751, allocations: 2.234 MB / 362.1 MB, free: 7.984 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.325/7.5, allocations: 15.03 kB / 362.1 MB, free: 7.977 MB / 302.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