Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.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.001379/0.001379, allocations: 113.6 kB / 21.19 MB, free: 0.7031 MB / 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.001458/0.001458, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.426/1.426, allocations: 207.6 MB / 235.3 MB, free: 9.996 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.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_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.001792/0.001792, allocations: 51.92 kB / 347.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2935, allocations: 49.17 MB / 396.3 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003049/0.2965, allocations: 1.778 MB / 398.1 MB, free: 7.781 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009666/0.2975, allocations: 0.6996 MB / 398.8 MB, free: 7.281 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.2976, allocations: 1.531 kB / 398.8 MB, free: 7.281 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001329/0.2978, allocations: 15.08 kB / 398.8 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.455e-05/0.2978, allocations: 40.47 kB / 398.9 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000258/0.2981, allocations: 41.52 kB / 398.9 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001879/0.2983, allocations: 122.5 kB / 399 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.2984, allocations: 28.8 kB / 399.1 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.313e-05/0.2985, allocations: 53.47 kB / 399.1 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.2986, allocations: 45.08 kB / 399.2 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.2986, allocations: 7 kB / 399.2 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.674e-05/0.2987, allocations: 26.86 kB / 399.2 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.335e-05/0.2987, allocations: 17.8 kB / 399.2 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.692e-05/0.2988, allocations: 58.05 kB / 399.3 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00024/0.299, allocations: 129.3 kB / 399.4 MB, free: 7.008 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.299, allocations: 1.125 kB / 399.4 MB, free: 7.008 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.299, allocations: 0 / 399.4 MB, free: 7.008 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.299, allocations: 0 / 399.4 MB, free: 7.008 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.0005153/0.2995, allocations: 337.9 kB / 399.7 MB, free: 6.699 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.2996, allocations: 14.73 kB / 399.7 MB, free: 6.695 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.859e-05/0.2996, allocations: 47.16 kB / 399.8 MB, free: 6.645 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001949/0.2998, allocations: 24.92 kB / 399.8 MB, free: 6.641 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.3, allocations: 129.5 kB / 399.9 MB, free: 6.504 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.3, allocations: 9.156 kB / 399.9 MB, free: 6.5 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.896e-05/0.3001, allocations: 23.25 kB / 400 MB, free: 6.484 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.3002, allocations: 92.12 kB / 400.1 MB, free: 6.43 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.3003, allocations: 1.375 kB / 400.1 MB, free: 6.43 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.3003, allocations: 5.125 kB / 400.1 MB, free: 6.426 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.3003, allocations: 2.625 kB / 400.1 MB, free: 6.426 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.3004, allocations: 62.95 kB / 400.1 MB, free: 6.406 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006427/0.3011, allocations: 417.3 kB / 400.5 MB, free: 6.062 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/0.3013, allocations: 97.45 kB / 400.6 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.27e-05/0.3014, allocations: 28.05 kB / 400.7 MB, free: 5.996 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.3014, allocations: 1.406 kB / 400.7 MB, free: 5.996 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.683e-05/0.3014, allocations: 40.62 kB / 400.7 MB, free: 5.949 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.3014, allocations: 0 / 400.7 MB, free: 5.949 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001243/0.3026, allocations: 399 kB / 401.1 MB, free: 5.699 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/0.3027, allocations: 57.41 kB / 401.1 MB, free: 5.633 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.941e-05/0.3028, allocations: 127.1 kB / 401.3 MB, free: 5.516 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.3028, allocations: 27.94 kB / 401.3 MB, free: 5.484 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.279e-05/0.3028, allocations: 107.8 kB / 401.4 MB, free: 5.383 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.147e-05/0.3028, allocations: 51.95 kB / 401.4 MB, free: 5.34 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.81e-05/0.3029, allocations: 28.86 kB / 401.5 MB, free: 5.316 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.209e-05/0.3029, allocations: 320.3 kB / 401.8 MB, free: 5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.737e-05/0.303, allocations: 27.45 kB / 401.8 MB, free: 4.992 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.923e-05/0.3031, allocations: 59.38 kB / 401.9 MB, free: 4.945 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.3032, allocations: 96.28 kB / 402 MB, free: 4.879 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3032, allocations: 0 / 402 MB, free: 4.879 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001854/0.3034, allocations: 138.5 kB / 402.1 MB, free: 4.801 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.3034, allocations: 9.656 kB / 402.1 MB, free: 4.797 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.3034, allocations: 1.25 kB / 402.1 MB, free: 4.797 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/0.3034, allocations: 2.234 kB / 402.1 MB, free: 4.797 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.3036, allocations: 30.19 kB / 402.1 MB, free: 4.797 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.3036, allocations: 9.344 kB / 402.2 MB, free: 4.789 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.593e-05/0.3036, allocations: 1.312 kB / 402.2 MB, free: 4.789 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.669e-06/0.3036, allocations: 8.094 kB / 402.2 MB, free: 4.785 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 (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 6.744e-05/0.3037, allocations: 123.8 kB / 402.3 MB, free: 4.66 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.059e-05/0.3037, allocations: 8.234 kB / 402.3 MB, free: 4.656 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.398e-05/0.3038, allocations: 20.58 kB / 402.3 MB, free: 4.637 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3038, allocations: 0 / 402.3 MB, free: 4.637 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.3038, allocations: 5.859 kB / 402.3 MB, free: 4.633 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.3038, allocations: 0.6094 kB / 402.3 MB, free: 4.633 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005354/0.3043, allocations: 390.4 kB / 402.7 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3043, allocations: 1.766 kB / 402.7 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/0.3045, allocations: 26.89 kB / 402.7 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.3045, allocations: 9.188 kB / 402.7 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.3045, allocations: 1.406 kB / 402.7 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.3045, allocations: 2.094 kB / 402.7 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3045, allocations: 1.438 kB / 402.7 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002481/0.3048, allocations: 256.8 kB / 403 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.551e-05/0.3048, allocations: 15.81 kB / 403 MB, free: 4.082 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.3048, allocations: 1.75 kB / 403 MB, free: 4.082 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.523e-05/0.3049, allocations: 6.766 kB / 403 MB, free: 4.078 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.888e-05/0.3049, allocations: 5.984 kB / 403 MB, free: 4.078 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.3049, allocations: 3.781 kB / 403 MB, free: 4.078 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.228e-05/0.305, allocations: 93.94 kB / 403.1 MB, free: 4 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.305, allocations: 0 / 403.1 MB, free: 4 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.3052, allocations: 25.75 kB / 403.1 MB, free: 3.996 MB / 318.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.0003855/0.3056, allocations: 0.7811 MB / 403.9 MB, free: 3.27 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002125/0.3058, allocations: 83.75 kB / 404 MB, free: 3.238 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3058, allocations: 0 / 404 MB, free: 3.238 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.352e-05/0.3059, allocations: 47.08 kB / 404.1 MB, free: 3.219 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.3062, allocations: 27.77 kB / 404.1 MB, free: 3.203 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.308, allocations: 1.826 MB / 405.9 MB, free: 1.629 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.3082, allocations: 0.7047 MB / 406.6 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.928e-05/0.3083, allocations: 13.22 kB / 406.6 MB, free: 0.918 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.576e-05/0.3084, allocations: 27.53 kB / 406.6 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of SimCode: time 8.41e-07/0.3084, allocations: 0 / 406.6 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03079/0.3392, allocations: 2.764 MB / 409.4 MB, free: 220 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.25, allocations: 14.62 kB / 409.4 MB, free: 208 kB / 318.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.csv. Warning: Get data of variable eddyCurrentForce.lossPower from file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.69305751399952]