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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00161/0.00161, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001979/0.001979, allocations: 214 kB / 23.73 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 230.5 MB / 257.4 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 63.89 kB / 377.7 MB, free: 2.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2636, allocations: 53.4 MB / 431.1 MB, free: 6.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003476/0.2671, allocations: 1.952 MB / 433.1 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.2683, allocations: 0.6429 MB / 433.7 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.2684, allocations: 3.938 kB / 433.7 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001402/0.2686, allocations: 23.8 kB / 433.7 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.864e-05/0.2687, allocations: 35.64 kB / 433.8 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.2689, allocations: 55.86 kB / 433.8 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002056/0.2692, allocations: 155.2 kB / 434 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.2693, allocations: 17.31 kB / 434 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.241e-05/0.2694, allocations: 55.84 kB / 434.1 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.931e-05/0.2695, allocations: 55.69 kB / 434.1 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.2695, allocations: 12 kB / 434.1 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.335e-05/0.2696, allocations: 27.98 kB / 434.2 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.08e-05/0.2696, allocations: 19.92 kB / 434.2 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.047e-05/0.2697, allocations: 55.67 kB / 434.2 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002792/0.27, allocations: 157.1 kB / 434.4 MB, free: 3.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.27, allocations: 4 kB / 434.4 MB, free: 3.227 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.27, allocations: 3.938 kB / 434.4 MB, free: 3.223 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.27, allocations: 3.938 kB / 434.4 MB, free: 3.219 MB / 334.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.000677/0.2706, allocations: 365.7 kB / 434.7 MB, free: 2.832 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.2707, allocations: 11.98 kB / 434.8 MB, free: 2.82 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.403e-05/0.2707, allocations: 42.75 kB / 434.8 MB, free: 2.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001764/0.2709, allocations: 32.83 kB / 434.8 MB, free: 2.738 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002821/0.2712, allocations: 144.8 kB / 435 MB, free: 2.574 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.2712, allocations: 8.375 kB / 435 MB, free: 2.566 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.493e-05/0.2712, allocations: 12.12 kB / 435 MB, free: 2.555 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003005/0.2715, allocations: 114.3 kB / 435.1 MB, free: 2.438 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.2716, allocations: 7.953 kB / 435.1 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.2716, allocations: 4 kB / 435.1 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2716, allocations: 0 / 435.1 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00029/0.2719, allocations: 99.86 kB / 435.2 MB, free: 2.328 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008511/0.2727, allocations: 446.5 kB / 435.7 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004215/0.2731, allocations: 118.5 kB / 435.8 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.2733, allocations: 44.88 kB / 435.8 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.2733, allocations: 4 kB / 435.8 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.2733, allocations: 38.5 kB / 435.9 MB, free: 1.621 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.273e-06/0.2733, allocations: 0 / 435.9 MB, free: 1.621 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001038/0.2744, allocations: 404 kB / 436.2 MB, free: 1.195 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.2744, allocations: 55.41 kB / 436.3 MB, free: 1.129 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.2745, allocations: 136.8 kB / 436.4 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.2746, allocations: 37.7 kB / 436.5 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.518e-05/0.2746, allocations: 112.2 kB / 436.6 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.11e-05/0.2747, allocations: 47.59 kB / 436.6 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.904e-05/0.2748, allocations: 37.61 kB / 436.7 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.2749, allocations: 322.8 kB / 437 MB, free: 424 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.2751, allocations: 47.91 kB / 437 MB, free: 376 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.2753, allocations: 71.41 kB / 437.1 MB, free: 292 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002817/0.2755, allocations: 127.3 kB / 437.2 MB, free: 152 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.2755, allocations: 0 / 437.2 MB, free: 152 kB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003993/0.2759, allocations: 165.5 kB / 437.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.276, allocations: 7.938 kB / 437.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.276, allocations: 0 / 437.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.276, allocations: 7.938 kB / 437.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.2762, allocations: 39.98 kB / 437.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.2762, allocations: 4 kB / 437.4 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.949e-05/0.2763, allocations: 11.98 kB / 437.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.2763, allocations: 4 kB / 437.5 MB, free: 15.91 MB / 350.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.0001111/0.2764, allocations: 117.8 kB / 437.6 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.884e-05/0.2764, allocations: 23.78 kB / 437.6 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.117e-05/0.2765, allocations: 20.77 kB / 437.6 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.2765, allocations: 4 kB / 437.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.2765, allocations: 0 / 437.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.2765, allocations: 0 / 437.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007426/0.2772, allocations: 427.9 kB / 438 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.2773, allocations: 4 kB / 438 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001946/0.2774, allocations: 31.97 kB / 438.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.2774, allocations: 4 kB / 438.1 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.2775, allocations: 4 kB / 438.1 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.2775, allocations: 4 kB / 438.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2775, allocations: 8 kB / 438.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005535/0.278, allocations: 304.6 kB / 438.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.911e-05/0.278, allocations: 8.094 kB / 438.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-05/0.2781, allocations: 11.98 kB / 438.4 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.2782, allocations: 8.031 kB / 438.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.383e-05/0.2782, allocations: 15.98 kB / 438.4 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.2783, allocations: 4 kB / 438.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.292e-05/0.2783, allocations: 107.2 kB / 438.5 MB, free: 14.74 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2783, allocations: 0 / 438.5 MB, free: 14.74 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002954/0.2786, allocations: 35.94 kB / 438.6 MB, free: 14.7 MB / 350.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.0008874/0.2795, allocations: 0.8312 MB / 439.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003609/0.2799, allocations: 119.9 kB / 439.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2799, allocations: 0 / 439.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.28, allocations: 51.91 kB / 439.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/0.2804, allocations: 22.73 kB / 439.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002784/0.2832, allocations: 1.989 MB / 441.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.2833, allocations: 98.27 kB / 441.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.708e-05/0.2834, allocations: 12.64 kB / 441.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.955e-05/0.2834, allocations: 35.44 kB / 441.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2834, allocations: 0 / 441.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03042/0.3139, allocations: 3.635 MB / 445.4 MB, free: 7.883 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.28, allocations: 15.77 kB / 445.4 MB, free: 7.871 MB / 350.1 MB " [Timeout remaining time 649] (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) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "Error: Could not read variable Time in file Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.csv. Warning: Get data of variable Time from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.csv failed! 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! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.73626367514953]