Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 212 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.484/1.484, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 55.92 kB / 347.2 MB, free: 9.906 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2726, allocations: 49.16 MB / 396.3 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002679/0.2753, allocations: 1.712 MB / 398.1 MB, free: 7.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009372/0.2762, allocations: 0.6339 MB / 398.7 MB, free: 7.301 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.4e-05/0.2763, allocations: 5.781 kB / 398.7 MB, free: 7.297 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001162/0.2764, allocations: 17.53 kB / 398.7 MB, free: 7.285 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.263e-05/0.2765, allocations: 33.3 kB / 398.7 MB, free: 7.262 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002296/0.2768, allocations: 48.77 kB / 398.8 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.2769, allocations: 121.7 kB / 398.9 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.277, allocations: 19.73 kB / 398.9 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.813e-05/0.2771, allocations: 48.5 kB / 399 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.998e-05/0.2772, allocations: 39.75 kB / 399 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.2772, allocations: 7.875 kB / 399 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.129e-05/0.2773, allocations: 24.92 kB / 399 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.182e-05/0.2773, allocations: 22.38 kB / 399.1 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.748e-05/0.2773, allocations: 41.45 kB / 399.1 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000214/0.2775, allocations: 133.8 kB / 399.2 MB, free: 7.039 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2775, allocations: 0 / 399.2 MB, free: 7.039 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2776, allocations: 4.938 kB / 399.2 MB, free: 7.035 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.2776, allocations: 0 / 399.2 MB, free: 7.035 MB / 318.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.0004505/0.278, allocations: 332.7 kB / 399.6 MB, free: 6.73 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.278, allocations: 13.2 kB / 399.6 MB, free: 6.727 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.849e-05/0.2781, allocations: 40.34 kB / 399.6 MB, free: 6.684 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001719/0.2783, allocations: 27.83 kB / 399.6 MB, free: 6.676 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.2784, allocations: 138.6 kB / 399.8 MB, free: 6.531 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.2784, allocations: 4.719 kB / 399.8 MB, free: 6.531 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.955e-05/0.2785, allocations: 14.59 kB / 399.8 MB, free: 6.523 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.2787, allocations: 91.03 kB / 399.9 MB, free: 6.469 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.2787, allocations: 9.609 kB / 399.9 MB, free: 6.461 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.2787, allocations: 1.094 kB / 399.9 MB, free: 6.461 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.2787, allocations: 6.172 kB / 399.9 MB, free: 6.457 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.2788, allocations: 63.08 kB / 400 MB, free: 6.434 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006245/0.2794, allocations: 402.8 kB / 400.4 MB, free: 6.102 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002392/0.2797, allocations: 83.69 kB / 400.4 MB, free: 6.055 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.305e-05/0.2797, allocations: 28.28 kB / 400.5 MB, free: 6.035 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.2797, allocations: 1.281 kB / 400.5 MB, free: 6.035 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/0.2798, allocations: 36.48 kB / 400.5 MB, free: 5.992 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.2798, allocations: 0 / 400.5 MB, free: 5.992 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002055/0.28, allocations: 101.7 kB / 400.6 MB, free: 5.93 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/0.28, allocations: 60.53 kB / 400.7 MB, free: 5.859 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.954e-05/0.2801, allocations: 119.2 kB / 400.8 MB, free: 5.754 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.2801, allocations: 31.2 kB / 400.8 MB, free: 5.719 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.451e-05/0.2801, allocations: 107.7 kB / 400.9 MB, free: 5.617 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.2801, allocations: 30.53 kB / 400.9 MB, free: 5.594 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.956e-05/0.2802, allocations: 28.55 kB / 401 MB, free: 5.57 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.789e-05/0.2802, allocations: 318.5 kB / 401.3 MB, free: 5.254 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.325e-05/0.2803, allocations: 26.53 kB / 401.3 MB, free: 5.242 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.527e-05/0.2803, allocations: 51.72 kB / 401.4 MB, free: 5.199 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.802e-05/0.2804, allocations: 86.11 kB / 401.4 MB, free: 5.133 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2804, allocations: 1.219 kB / 401.4 MB, free: 5.133 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000149/0.2806, allocations: 109.1 kB / 401.6 MB, free: 5.07 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.2806, allocations: 9.75 kB / 401.6 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.2806, allocations: 1.969 kB / 401.6 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.2806, allocations: 1.156 kB / 401.6 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.2807, allocations: 28.03 kB / 401.6 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.2807, allocations: 1.094 kB / 401.6 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.404e-05/0.2808, allocations: 15.02 kB / 401.6 MB, free: 5.051 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.2808, allocations: 3.375 kB / 401.6 MB, free: 5.051 MB / 318.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 6.22e-05/0.2809, allocations: 123.2 kB / 401.7 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.814e-05/0.2809, allocations: 7.703 kB / 401.7 MB, free: 4.922 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.576e-05/0.2809, allocations: 16.42 kB / 401.8 MB, free: 4.91 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2809, allocations: 3.938 kB / 401.8 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.2809, allocations: 1.672 kB / 401.8 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2809, allocations: 0.75 kB / 401.8 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.2811, allocations: 160.1 kB / 401.9 MB, free: 4.738 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2811, allocations: 0 / 401.9 MB, free: 4.738 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.2812, allocations: 27.52 kB / 401.9 MB, free: 4.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.2812, allocations: 1.312 kB / 401.9 MB, free: 4.73 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.2812, allocations: 2.219 kB / 402 MB, free: 4.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2812, allocations: 3.938 kB / 402 MB, free: 4.727 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.2812, allocations: 1.406 kB / 402 MB, free: 4.727 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002113/0.2814, allocations: 205.7 kB / 402.2 MB, free: 4.562 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.427e-05/0.2814, allocations: 11.05 kB / 402.2 MB, free: 4.555 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.2815, allocations: 1.828 kB / 402.2 MB, free: 4.555 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.438e-05/0.2815, allocations: 5.062 kB / 402.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.783e-05/0.2816, allocations: 4.203 kB / 402.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.2816, allocations: 5.406 kB / 402.2 MB, free: 4.547 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.135e-05/0.2816, allocations: 105 kB / 402.3 MB, free: 4.457 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2816, allocations: 0 / 402.3 MB, free: 4.457 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002493/0.2819, allocations: 29.25 kB / 402.3 MB, free: 4.449 MB / 318.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.0003189/0.2822, allocations: 0.7332 MB / 403 MB, free: 3.758 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000162/0.2823, allocations: 62.66 kB / 403.1 MB, free: 3.734 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.2823, allocations: 1.062 kB / 403.1 MB, free: 3.734 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.342e-05/0.2824, allocations: 30.03 kB / 403.1 MB, free: 3.723 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.2827, allocations: 25.61 kB / 403.2 MB, free: 3.707 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.2841, allocations: 1.707 MB / 404.9 MB, free: 2.211 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.873e-05/0.2842, allocations: 87 kB / 405 MB, free: 2.137 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.219e-05/0.2843, allocations: 10.69 kB / 405 MB, free: 2.129 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.272e-05/0.2843, allocations: 30.67 kB / 405 MB, free: 2.109 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2843, allocations: 0 / 405 MB, free: 2.109 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03118/0.3155, allocations: 2.86 MB / 407.9 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.52, allocations: 5.922 kB / 407.9 MB, free: 0.9609 MB / 318.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Mechanics.Rotational.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_3_2_3_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake.fmu > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable inertia.phi in file Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv. Warning: Get data of variable inertia.phi from file Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv failed! Error: Could not read variable eddyCurrentTorque.lossPower in file Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv. Warning: Get data of variable eddyCurrentTorque.lossPower from file Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.032477393746376]