Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001744/0.001744, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00225/0.00225, allocations: 184.5 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] 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.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 51.91 kB / 370.4 MB, free: 9.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2831, allocations: 52.19 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003148/0.2863, allocations: 1.801 MB / 424.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.2875, allocations: 0.6427 MB / 425.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.54e-05/0.2876, allocations: 3.938 kB / 425.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001275/0.2877, allocations: 11.86 kB / 425.1 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.2878, allocations: 39.7 kB / 425.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002695/0.2881, allocations: 51.81 kB / 425.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002053/0.2883, allocations: 123.4 kB / 425.3 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.2884, allocations: 25.56 kB / 425.3 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.137e-05/0.2885, allocations: 47.8 kB / 425.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.2886, allocations: 43.84 kB / 425.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.2886, allocations: 8 kB / 425.4 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.193e-05/0.2887, allocations: 23.98 kB / 425.4 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.18e-05/0.2887, allocations: 23.91 kB / 425.5 MB, free: 11.72 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.152e-05/0.2888, allocations: 51.75 kB / 425.5 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.289, allocations: 127.9 kB / 425.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.289, allocations: 3.984 kB / 425.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.289, allocations: 4 kB / 425.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.289, allocations: 0 / 425.6 MB, free: 11.55 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005613/0.2896, allocations: 334 kB / 426 MB, free: 11.19 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.2896, allocations: 8.031 kB / 426 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.788e-05/0.2897, allocations: 42.75 kB / 426 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001875/0.2899, allocations: 32.81 kB / 426 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.2901, allocations: 138.3 kB / 426.2 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.2901, allocations: 8.562 kB / 426.2 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.376e-05/0.2902, allocations: 20.11 kB / 426.2 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.2903, allocations: 85.66 kB / 426.3 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.2904, allocations: 7.984 kB / 426.3 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.2904, allocations: 4 kB / 426.3 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2904, allocations: 0 / 426.3 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.2905, allocations: 69.34 kB / 426.4 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007138/0.2912, allocations: 418.7 kB / 426.8 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002883/0.2915, allocations: 102.5 kB / 426.9 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.258e-05/0.2916, allocations: 32.86 kB / 426.9 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.2916, allocations: 0 / 426.9 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.2916, allocations: 38.55 kB / 427 MB, free: 10.1 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 9.22e-07/0.2916, allocations: 0 / 427 MB, free: 10.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001303/0.2929, allocations: 389 kB / 427.3 MB, free: 9.684 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.293, allocations: 55.41 kB / 427.4 MB, free: 9.617 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.2931, allocations: 129.2 kB / 427.5 MB, free: 9.48 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.2931, allocations: 25.7 kB / 427.5 MB, free: 9.449 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.113e-05/0.2932, allocations: 104 kB / 427.6 MB, free: 9.344 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.997e-05/0.2932, allocations: 47.59 kB / 427.7 MB, free: 9.297 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.515e-05/0.2933, allocations: 33.7 kB / 427.7 MB, free: 9.258 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.2934, allocations: 322.8 kB / 428 MB, free: 8.934 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.27e-05/0.2935, allocations: 27.98 kB / 428.1 MB, free: 8.906 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.922e-05/0.2936, allocations: 59.42 kB / 428.1 MB, free: 8.836 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.2937, allocations: 91.38 kB / 428.2 MB, free: 8.734 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.2937, allocations: 3.938 kB / 428.2 MB, free: 8.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002104/0.2939, allocations: 134.4 kB / 428.3 MB, free: 8.594 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.2939, allocations: 4 kB / 428.3 MB, free: 8.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.2939, allocations: 4 kB / 428.4 MB, free: 8.586 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.2939, allocations: 0 / 428.4 MB, free: 8.586 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.2941, allocations: 35.92 kB / 428.4 MB, free: 8.551 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.2941, allocations: 3.938 kB / 428.4 MB, free: 8.547 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.829e-05/0.2942, allocations: 3.984 kB / 428.4 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.2942, allocations: 8 kB / 428.4 MB, free: 8.535 MB / 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 (17): * Single equations (assignments): 17 * 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.0001071/0.2943, allocations: 129.8 kB / 428.5 MB, free: 8.398 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.329e-05/0.2943, allocations: 11.95 kB / 428.5 MB, free: 8.387 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.933e-05/0.2944, allocations: 12.38 kB / 428.6 MB, free: 8.375 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.2944, allocations: 4 kB / 428.6 MB, free: 8.371 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.2944, allocations: 3.938 kB / 428.6 MB, free: 8.367 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2944, allocations: 0 / 428.6 MB, free: 8.367 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006182/0.295, allocations: 399.2 kB / 429 MB, free: 7.922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/0.295, allocations: 7.969 kB / 429 MB, free: 7.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.2952, allocations: 27.94 kB / 429 MB, free: 7.887 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.2952, allocations: 4.031 kB / 429 MB, free: 7.883 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.2952, allocations: 7.922 kB / 429 MB, free: 7.875 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.2952, allocations: 4 kB / 429 MB, free: 7.871 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2952, allocations: 0 / 429 MB, free: 7.871 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003019/0.2955, allocations: 253.2 kB / 429.2 MB, free: 7.602 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.141e-05/0.2955, allocations: 11.89 kB / 429.3 MB, free: 7.59 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.2955, allocations: 4.031 kB / 429.3 MB, free: 7.586 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.931e-05/0.2956, allocations: 8 kB / 429.3 MB, free: 7.578 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.2957, allocations: 3.984 kB / 429.3 MB, free: 7.574 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.2957, allocations: 4 kB / 429.3 MB, free: 7.57 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.045e-05/0.2957, allocations: 95.27 kB / 429.4 MB, free: 7.477 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2957, allocations: 0 / 429.4 MB, free: 7.477 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002629/0.296, allocations: 28 kB / 429.4 MB, free: 7.449 MB / 334.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 (12): * Single equations (assignments): 12 * 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.0006004/0.2966, allocations: 0.7843 MB / 430.2 MB, free: 6.633 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002009/0.2968, allocations: 83.92 kB / 430.3 MB, free: 6.551 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2968, allocations: 0 / 430.3 MB, free: 6.551 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.28e-05/0.2969, allocations: 39.92 kB / 430.3 MB, free: 6.512 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.2972, allocations: 23.98 kB / 430.3 MB, free: 6.488 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/0.2994, allocations: 1.814 MB / 432.1 MB, free: 4.566 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.2997, allocations: 0.7117 MB / 432.9 MB, free: 3.828 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.576e-05/0.2998, allocations: 8.969 kB / 432.9 MB, free: 3.816 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.583e-05/0.2999, allocations: 35.42 kB / 432.9 MB, free: 3.781 MB / 334.1 MB Notification: Performance of SimCode: time 7.21e-07/0.2999, allocations: 192 / 432.9 MB, free: 3.781 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03243/0.3323, allocations: 2.78 MB / 435.7 MB, free: 1.148 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.34, allocations: 3.984 kB / 435.7 MB, free: 1.145 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eddyCurrentForce.lossPower in file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.csv. Warning: Get data of variable eddyCurrentForce.lossPower from file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.856937983000535]