Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001161/0.001161, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001265/0.001265, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.493/1.493, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 61.8 kB / 307.1 MB, free: 0.5547 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1269, allocations: 50.52 MB / 357.6 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.00415/0.1311, allocations: 1.999 MB / 359.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.1325, allocations: 0.6935 MB / 360.3 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/0.1326, allocations: 4 kB / 360.3 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001306/0.1328, allocations: 15.8 kB / 360.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.592e-05/0.1329, allocations: 39.62 kB / 360.3 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002888/0.1332, allocations: 67.78 kB / 360.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.1334, allocations: 139.3 kB / 360.5 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.1335, allocations: 37.08 kB / 360.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001575/0.1337, allocations: 59.72 kB / 360.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.1338, allocations: 59.77 kB / 360.7 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.322e-05/0.1339, allocations: 11.94 kB / 360.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.134, allocations: 23.98 kB / 360.7 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.146e-05/0.134, allocations: 23.92 kB / 360.7 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.804e-05/0.1341, allocations: 67.72 kB / 360.8 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000241/0.1344, allocations: 151.7 kB / 361 MB, free: 10.63 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1344, allocations: 0 / 361 MB, free: 10.63 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1344, allocations: 0 / 361 MB, free: 10.63 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1344, allocations: 0 / 361 MB, free: 10.63 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007407/0.1351, allocations: 443 kB / 361.4 MB, free: 10.15 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.1352, allocations: 8.031 kB / 361.4 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.818e-05/0.1352, allocations: 46.73 kB / 361.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002047/0.1355, allocations: 28.73 kB / 361.5 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.1357, allocations: 207 kB / 361.7 MB, free: 9.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/0.1357, allocations: 8.375 kB / 361.7 MB, free: 9.812 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.687e-05/0.1358, allocations: 16.12 kB / 361.7 MB, free: 9.797 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002961/0.1361, allocations: 110.7 kB / 361.8 MB, free: 9.684 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.1361, allocations: 4 kB / 361.8 MB, free: 9.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.933e-05/0.1362, allocations: 8 kB / 361.8 MB, free: 9.672 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.1362, allocations: 7.938 kB / 361.8 MB, free: 9.664 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002959/0.1365, allocations: 104.5 kB / 361.9 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000914/0.1374, allocations: 491.3 kB / 362.4 MB, free: 9.023 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003948/0.1378, allocations: 122.6 kB / 362.5 MB, free: 8.895 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.138, allocations: 44.84 kB / 362.6 MB, free: 8.848 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.138, allocations: 0 / 362.6 MB, free: 8.848 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.138, allocations: 42.5 kB / 362.6 MB, free: 8.797 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.022e-06/0.138, allocations: 0 / 362.6 MB, free: 8.797 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.001136/0.1392, allocations: 481.8 kB / 363.1 MB, free: 8.273 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.521e-05/0.1393, allocations: 51.41 kB / 363.1 MB, free: 8.211 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.1394, allocations: 140.6 kB / 363.3 MB, free: 8.066 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.1394, allocations: 29.7 kB / 363.3 MB, free: 8.031 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.34e-05/0.1395, allocations: 112.2 kB / 363.4 MB, free: 7.918 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.935e-05/0.1396, allocations: 47.3 kB / 363.5 MB, free: 7.871 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.798e-05/0.1396, allocations: 37.61 kB / 363.5 MB, free: 7.828 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.1398, allocations: 314.8 kB / 363.8 MB, free: 7.512 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.1399, allocations: 43.97 kB / 363.8 MB, free: 7.469 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.1401, allocations: 79.39 kB / 363.9 MB, free: 7.379 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002811/0.1404, allocations: 130.8 kB / 364 MB, free: 7.242 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1404, allocations: 0 / 364 MB, free: 7.242 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003316/0.1407, allocations: 165.4 kB / 364.2 MB, free: 7.074 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.1408, allocations: 4 kB / 364.2 MB, free: 7.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1408, allocations: 0 / 364.2 MB, free: 7.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.1408, allocations: 4 kB / 364.2 MB, free: 7.066 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.141, allocations: 39.91 kB / 364.3 MB, free: 7.027 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.1411, allocations: 4 kB / 364.3 MB, free: 7.023 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.14e-05/0.1412, allocations: 8 kB / 364.3 MB, free: 7.016 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.1412, allocations: 8.062 kB / 364.3 MB, free: 7.008 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 (18): * Single equations (assignments): 18 * 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.0001104/0.1413, allocations: 129.7 kB / 364.4 MB, free: 6.871 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.885e-05/0.1413, allocations: 19.75 kB / 364.4 MB, free: 6.852 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.582e-05/0.1414, allocations: 20.78 kB / 364.4 MB, free: 6.832 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.1414, allocations: 4 kB / 364.4 MB, free: 6.828 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1414, allocations: 0 / 364.4 MB, free: 6.828 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1414, allocations: 0 / 364.4 MB, free: 6.828 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007991/0.1422, allocations: 472 kB / 364.9 MB, free: 6.305 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1422, allocations: 0 / 364.9 MB, free: 6.305 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/0.1424, allocations: 35.97 kB / 364.9 MB, free: 6.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1424, allocations: 7.938 kB / 364.9 MB, free: 6.262 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.1425, allocations: 4 kB / 365 MB, free: 6.258 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1425, allocations: 0 / 365 MB, free: 6.258 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.1425, allocations: 8.062 kB / 365 MB, free: 6.25 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005648/0.143, allocations: 307.6 kB / 365.3 MB, free: 5.93 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.827e-05/0.1431, allocations: 81.02 kB / 365.3 MB, free: 5.832 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/0.1431, allocations: 16.03 kB / 365.4 MB, free: 5.816 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.1433, allocations: 4 kB / 365.4 MB, free: 5.812 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.936e-05/0.1433, allocations: 15.92 kB / 365.4 MB, free: 5.797 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.1433, allocations: 4 kB / 365.4 MB, free: 5.793 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.164e-05/0.1434, allocations: 103.3 kB / 365.5 MB, free: 5.691 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.383e-06/0.1434, allocations: 0 / 365.5 MB, free: 5.691 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002583/0.1437, allocations: 35.88 kB / 365.5 MB, free: 5.656 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mass.s,mass.v,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 (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 Backend phase and start with SimCode phase: time 0.0008779/0.1446, allocations: 0.8274 MB / 366.3 MB, free: 4.793 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003317/0.1449, allocations: 124 kB / 366.5 MB, free: 4.672 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1449, allocations: 0 / 366.5 MB, free: 4.672 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001661/0.1451, allocations: 56.78 kB / 366.5 MB, free: 4.617 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.1455, allocations: 29.89 kB / 366.5 MB, free: 4.594 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002534/0.148, allocations: 1.969 MB / 368.5 MB, free: 2.504 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.1483, allocations: 0.7119 MB / 369.2 MB, free: 1.766 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.497e-05/0.1484, allocations: 16.44 kB / 369.2 MB, free: 1.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.1e-05/0.1485, allocations: 39.36 kB / 369.3 MB, free: 1.711 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1485, allocations: 0 / 369.3 MB, free: 1.711 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1911/0.3396, allocations: 2.959 MB / 372.2 MB, free: 19.99 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.003/8.343, allocations: 11.02 kB / 372.3 MB, free: 19.99 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.Translational.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_trunk_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Error: Could not read variable eddyCurrentForce.lossPower in file Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.csv. Warning: Get data of variable eddyCurrentForce.lossPower from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.csv failed! " Variables in the reference:time,mass.s,heatCapacitor.T,eddyCurrentForce.lossPower Variables in the result:time,heatCapacitor.T,mass.s,mass.v