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.001461/0.001461, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.00171/0.00171, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.582/1.582, allocations: 207.6 MB / 235.3 MB, free: 10.02 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.001728/0.001728, allocations: 55.91 kB / 347.2 MB, free: 10.14 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2987, allocations: 49.15 MB / 396.3 MB, free: 8.988 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003514/0.3023, allocations: 1.785 MB / 398.1 MB, free: 7.766 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.3034, allocations: 0.6939 MB / 398.8 MB, free: 7.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.3035, allocations: 2.25 kB / 398.8 MB, free: 7.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001303/0.3036, allocations: 17.42 kB / 398.8 MB, free: 7.258 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.328e-05/0.3037, allocations: 38.09 kB / 398.9 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.304, allocations: 49.16 kB / 398.9 MB, free: 7.203 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.3042, allocations: 123.8 kB / 399 MB, free: 7.141 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.3043, allocations: 28.81 kB / 399.1 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.855e-05/0.3044, allocations: 41.22 kB / 399.1 MB, free: 7.113 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.3045, allocations: 56.45 kB / 399.2 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.3045, allocations: 8 kB / 399.2 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.101e-05/0.3046, allocations: 24.8 kB / 399.2 MB, free: 7.078 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.335e-05/0.3046, allocations: 19.67 kB / 399.2 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.657e-05/0.3047, allocations: 49.45 kB / 399.3 MB, free: 7.039 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002333/0.3049, allocations: 129.3 kB / 399.4 MB, free: 6.996 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3049, allocations: 0 / 399.4 MB, free: 6.996 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3049, allocations: 0 / 399.4 MB, free: 6.996 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.3049, allocations: 0 / 399.4 MB, free: 6.996 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.0005087/0.3054, allocations: 344 kB / 399.7 MB, free: 6.684 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.3055, allocations: 13.05 kB / 399.7 MB, free: 6.68 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.331e-05/0.3055, allocations: 40.28 kB / 399.8 MB, free: 6.637 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/0.3057, allocations: 32.47 kB / 399.8 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.3059, allocations: 134.3 kB / 399.9 MB, free: 6.484 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.3059, allocations: 9 kB / 399.9 MB, free: 6.48 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.597e-05/0.3059, allocations: 22.11 kB / 400 MB, free: 6.465 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.3061, allocations: 87.5 kB / 400.1 MB, free: 6.414 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.3061, allocations: 1.891 kB / 400.1 MB, free: 6.414 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.3061, allocations: 9.156 kB / 400.1 MB, free: 6.406 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.3061, allocations: 2.156 kB / 400.1 MB, free: 6.406 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.3063, allocations: 63.08 kB / 400.1 MB, free: 6.387 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006106/0.3069, allocations: 413.2 kB / 400.5 MB, free: 6.047 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002658/0.3071, allocations: 97.47 kB / 400.6 MB, free: 5.996 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.438e-05/0.3072, allocations: 32.89 kB / 400.7 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.3072, allocations: 1.094 kB / 400.7 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.615e-05/0.3072, allocations: 32.38 kB / 400.7 MB, free: 5.938 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/0.3072, allocations: 0 / 400.7 MB, free: 5.938 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001249/0.3085, allocations: 399.7 kB / 401.1 MB, free: 5.688 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.656e-05/0.3085, allocations: 56.69 kB / 401.1 MB, free: 5.621 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.637e-05/0.3086, allocations: 132.2 kB / 401.3 MB, free: 5.5 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.3086, allocations: 26.36 kB / 401.3 MB, free: 5.469 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.296e-05/0.3086, allocations: 107.4 kB / 401.4 MB, free: 5.367 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/0.3087, allocations: 53.61 kB / 401.5 MB, free: 5.324 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.858e-05/0.3087, allocations: 32.75 kB / 401.5 MB, free: 5.297 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.334e-05/0.3088, allocations: 324.6 kB / 401.8 MB, free: 4.977 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.634e-05/0.3088, allocations: 26.61 kB / 401.8 MB, free: 4.969 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.228e-05/0.3089, allocations: 61.14 kB / 401.9 MB, free: 4.922 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.309, allocations: 91.11 kB / 402 MB, free: 4.859 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.309, allocations: 0 / 402 MB, free: 4.859 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001874/0.3092, allocations: 131 kB / 402.1 MB, free: 4.789 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.3092, allocations: 12.84 kB / 402.1 MB, free: 4.781 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.3092, allocations: 5.984 kB / 402.1 MB, free: 4.777 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.3092, allocations: 1.375 kB / 402.1 MB, free: 4.777 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.3094, allocations: 32.81 kB / 402.2 MB, free: 4.773 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.3094, allocations: 7.734 kB / 402.2 MB, free: 4.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.695e-05/0.3095, allocations: 1.125 kB / 402.2 MB, free: 4.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.3095, allocations: 7.531 kB / 402.2 MB, free: 4.766 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.357e-05/0.3095, allocations: 115.6 kB / 402.3 MB, free: 4.648 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.317e-05/0.3096, allocations: 13.16 kB / 402.3 MB, free: 4.641 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.977e-05/0.3096, allocations: 19.91 kB / 402.3 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.3096, allocations: 1.5 kB / 402.3 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.3096, allocations: 8.719 kB / 402.3 MB, free: 4.613 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3096, allocations: 0 / 402.3 MB, free: 4.613 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004566/0.3101, allocations: 387.8 kB / 402.7 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3101, allocations: 1.219 kB / 402.7 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001451/0.3102, allocations: 34.19 kB / 402.7 MB, free: 4.277 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3102, allocations: 5.281 kB / 402.7 MB, free: 4.273 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.3102, allocations: 2.094 kB / 402.7 MB, free: 4.273 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.3102, allocations: 5.469 kB / 402.8 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3102, allocations: 1.312 kB / 402.8 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002369/0.3105, allocations: 255.7 kB / 403 MB, free: 4.07 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.591e-05/0.3105, allocations: 16.73 kB / 403 MB, free: 4.059 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.3105, allocations: 1.25 kB / 403 MB, free: 4.059 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.412e-05/0.3106, allocations: 7.062 kB / 403 MB, free: 4.055 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.829e-05/0.3106, allocations: 6.609 kB / 403 MB, free: 4.055 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.3106, allocations: 3.594 kB / 403 MB, free: 4.055 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.018e-05/0.3107, allocations: 93.12 kB / 403.1 MB, free: 3.977 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3107, allocations: 0 / 403.1 MB, free: 3.977 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002508/0.3109, allocations: 25.66 kB / 403.2 MB, free: 3.973 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.0003778/0.3113, allocations: 0.7855 MB / 403.9 MB, free: 3.242 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001803/0.3115, allocations: 75.94 kB / 404 MB, free: 3.219 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3115, allocations: 0 / 404 MB, free: 3.219 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.935e-05/0.3115, allocations: 42.31 kB / 404.1 MB, free: 3.203 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.3119, allocations: 19.69 kB / 404.1 MB, free: 3.195 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.3135, allocations: 1.826 MB / 405.9 MB, free: 1.621 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001448/0.3137, allocations: 0.7131 MB / 406.6 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.172e-05/0.3137, allocations: 13.14 kB / 406.6 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.947e-05/0.3138, allocations: 32.14 kB / 406.7 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3138, allocations: 0 / 406.7 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03175/0.3455, allocations: 2.77 MB / 409.4 MB, free: 192 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.36, allocations: 9.312 kB / 409.4 MB, free: 184 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.893371091922745]