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.001531/0.001531, allocations: 120.4 kB / 20.43 MB, free: 1.301 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.001441/0.001441, allocations: 211.2 kB / 23.74 MB, free: 4.539 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.519/1.519, allocations: 230.5 MB / 257.4 MB, free: 8 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.002891/0.002891, allocations: 72.03 kB / 377.8 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2918, allocations: 53.41 MB / 431.2 MB, free: 6.793 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003322/0.2952, allocations: 2.018 MB / 433.2 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.2963, allocations: 0.7091 MB / 433.9 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.56e-05/0.2964, allocations: 3.938 kB / 433.9 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001331/0.2965, allocations: 19.8 kB / 433.9 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.577e-05/0.2966, allocations: 43.62 kB / 434 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.2969, allocations: 47.81 kB / 434 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002143/0.2971, allocations: 155.2 kB / 434.2 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.2972, allocations: 29.28 kB / 434.2 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.712e-05/0.2973, allocations: 51.86 kB / 434.3 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.2974, allocations: 59.7 kB / 434.3 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.2974, allocations: 8 kB / 434.3 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.598e-05/0.2975, allocations: 27.98 kB / 434.3 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.167e-05/0.2976, allocations: 27.91 kB / 434.4 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.868e-05/0.2976, allocations: 67.55 kB / 434.4 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002577/0.2979, allocations: 147.9 kB / 434.6 MB, free: 3.379 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2979, allocations: 0 / 434.6 MB, free: 3.379 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2979, allocations: 0 / 434.6 MB, free: 3.379 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.2979, allocations: 4 kB / 434.6 MB, free: 3.375 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.0006913/0.2986, allocations: 373.6 kB / 435 MB, free: 2.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.2986, allocations: 15.97 kB / 435 MB, free: 2.965 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.98e-05/0.2987, allocations: 42.73 kB / 435 MB, free: 2.914 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001862/0.2989, allocations: 28.83 kB / 435 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.2992, allocations: 148.7 kB / 435.2 MB, free: 2.719 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.2992, allocations: 8.375 kB / 435.2 MB, free: 2.711 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.088e-05/0.2992, allocations: 16.12 kB / 435.2 MB, free: 2.695 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002967/0.2995, allocations: 110.3 kB / 435.3 MB, free: 2.582 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.2995, allocations: 3.953 kB / 435.3 MB, free: 2.578 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.2995, allocations: 4 kB / 435.3 MB, free: 2.574 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.2995, allocations: 4 kB / 435.3 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002758/0.2998, allocations: 99.88 kB / 435.4 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008332/0.3007, allocations: 454.5 kB / 435.9 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003568/0.301, allocations: 122.5 kB / 436 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.3011, allocations: 44.88 kB / 436 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.3011, allocations: 0 / 436 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.3012, allocations: 42.5 kB / 436.1 MB, free: 1.754 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 9.62e-07/0.3012, allocations: 0 / 436.1 MB, free: 1.754 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009979/0.3022, allocations: 408.7 kB / 436.5 MB, free: 1.324 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.3022, allocations: 51.41 kB / 436.5 MB, free: 1.262 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.3023, allocations: 136.9 kB / 436.7 MB, free: 1.117 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.3024, allocations: 25.7 kB / 436.7 MB, free: 1.086 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.723e-05/0.3024, allocations: 120.2 kB / 436.8 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.981e-05/0.3025, allocations: 47.56 kB / 436.8 MB, free: 0.918 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.842e-05/0.3025, allocations: 45.59 kB / 436.9 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3027, allocations: 322.8 kB / 437.2 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.3028, allocations: 47.88 kB / 437.2 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.3029, allocations: 67.41 kB / 437.3 MB, free: 428 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002893/0.3032, allocations: 127.3 kB / 437.4 MB, free: 288 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3032, allocations: 0 / 437.4 MB, free: 288 kB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003429/0.3036, allocations: 165.5 kB / 437.6 MB, free: 116 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.3036, allocations: 7.984 kB / 437.6 MB, free: 108 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3036, allocations: 64 / 437.6 MB, free: 108 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.3036, allocations: 8 kB / 437.6 MB, free: 100 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.3038, allocations: 39.92 kB / 437.7 MB, free: 60 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.3038, allocations: 7.938 kB / 437.7 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.28e-05/0.3039, allocations: 7.984 kB / 437.7 MB, free: 44 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.3039, allocations: 8 kB / 437.7 MB, free: 36 kB / 334.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.0001217/0.304, allocations: 121.8 kB / 437.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.053e-05/0.3041, allocations: 19.92 kB / 437.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.998e-05/0.3041, allocations: 20.77 kB / 437.8 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.3041, allocations: 4 kB / 437.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.3041, allocations: 0 / 437.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.3041, allocations: 3.938 kB / 437.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007046/0.3048, allocations: 435.9 kB / 438.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.3048, allocations: 64 / 438.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/0.305, allocations: 39.98 kB / 438.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.305, allocations: 4 kB / 438.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.305, allocations: 0 / 438.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.305, allocations: 0 / 438.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.677e-06/0.3051, allocations: 7.984 kB / 438.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005042/0.3056, allocations: 311.6 kB / 438.6 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.769e-05/0.3056, allocations: 11.98 kB / 438.6 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.3056, allocations: 4 kB / 438.6 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.3057, allocations: 8 kB / 438.6 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.3058, allocations: 11.97 kB / 438.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.3058, allocations: 8 kB / 438.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.242e-05/0.3058, allocations: 103.3 kB / 438.8 MB, free: 14.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3058, allocations: 4 kB / 438.8 MB, free: 14.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002575/0.3061, allocations: 31.94 kB / 438.8 MB, free: 14.82 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.0008493/0.3069, allocations: 0.8425 MB / 439.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003208/0.3073, allocations: 115.8 kB / 439.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3073, allocations: 0 / 439.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.3074, allocations: 55.91 kB / 439.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.3077, allocations: 23 kB / 439.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002475/0.3102, allocations: 1.986 MB / 441.8 MB, free: 11.67 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.3106, allocations: 0.708 MB / 442.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.815e-05/0.3106, allocations: 20.56 kB / 442.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.004e-05/0.3107, allocations: 39.42 kB / 442.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3107, allocations: 0 / 442.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03092/0.3416, allocations: 3.208 MB / 445.8 MB, free: 7.781 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.08, allocations: 11.94 kB / 445.8 MB, free: 7.77 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.648054696001054]