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.002162/0.002162, allocations: 107.6 kB / 21.18 MB, free: 452 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.002311/0.002311, allocations: 214.8 kB / 24.47 MB, free: 3.777 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.492/1.492, 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.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.001961/0.001961, allocations: 62.56 kB / 347.2 MB, free: 9.898 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2634, allocations: 49.16 MB / 396.3 MB, free: 8.859 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002627/0.266, allocations: 1.71 MB / 398 MB, free: 7.719 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000892/0.2669, allocations: 0.6366 MB / 398.7 MB, free: 7.285 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.275e-05/0.267, allocations: 2.094 kB / 398.7 MB, free: 7.285 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.2671, allocations: 18.42 kB / 398.7 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.479e-05/0.2672, allocations: 42.45 kB / 398.7 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002289/0.2674, allocations: 43.81 kB / 398.8 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.2675, allocations: 121.4 kB / 398.9 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.2677, allocations: 23.27 kB / 398.9 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.403e-05/0.2677, allocations: 45.66 kB / 399 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.421e-05/0.2678, allocations: 44.19 kB / 399 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.2679, allocations: 7.719 kB / 399 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.381e-05/0.2679, allocations: 26.28 kB / 399.1 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.412e-05/0.268, allocations: 18.38 kB / 399.1 MB, free: 7.094 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.859e-05/0.268, allocations: 49.58 kB / 399.1 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002108/0.2682, allocations: 131.1 kB / 399.2 MB, free: 7.02 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2682, allocations: 1.219 kB / 399.2 MB, free: 7.02 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2682, allocations: 0 / 399.2 MB, free: 7.02 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.769e-06/0.2682, allocations: 0 / 399.2 MB, free: 7.02 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.0004234/0.2687, allocations: 334.9 kB / 399.6 MB, free: 6.715 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.2687, allocations: 13.45 kB / 399.6 MB, free: 6.711 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.792e-05/0.2687, allocations: 44.42 kB / 399.6 MB, free: 6.664 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.2689, allocations: 32.45 kB / 399.7 MB, free: 6.652 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/0.2691, allocations: 139.6 kB / 399.8 MB, free: 6.508 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.2691, allocations: 7.219 kB / 399.8 MB, free: 6.504 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.232e-05/0.2691, allocations: 14.88 kB / 399.8 MB, free: 6.496 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.2693, allocations: 95.8 kB / 399.9 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.2693, allocations: 1.531 kB / 399.9 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.2693, allocations: 4.844 kB / 399.9 MB, free: 6.434 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.2694, allocations: 3.188 kB / 399.9 MB, free: 6.434 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.2695, allocations: 66.08 kB / 400 MB, free: 6.41 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005705/0.2701, allocations: 401.4 kB / 400.4 MB, free: 6.07 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/0.2703, allocations: 101.8 kB / 400.5 MB, free: 6.016 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.724e-05/0.2704, allocations: 28 kB / 400.5 MB, free: 6 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.2704, allocations: 2.031 kB / 400.5 MB, free: 6 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.705e-05/0.2704, allocations: 37.52 kB / 400.5 MB, free: 5.957 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.2704, allocations: 0 / 400.5 MB, free: 5.957 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001191/0.2716, allocations: 391.3 kB / 400.9 MB, free: 5.715 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.2716, allocations: 52.84 kB / 401 MB, free: 5.652 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.088e-05/0.2717, allocations: 128.5 kB / 401.1 MB, free: 5.535 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.388e-06/0.2717, allocations: 25.7 kB / 401.1 MB, free: 5.504 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.114e-05/0.2718, allocations: 112.4 kB / 401.2 MB, free: 5.398 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.2718, allocations: 53.11 kB / 401.3 MB, free: 5.355 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.622e-05/0.2718, allocations: 30.22 kB / 401.3 MB, free: 5.332 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.671e-05/0.2719, allocations: 320.3 kB / 401.6 MB, free: 5.016 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.312e-05/0.2719, allocations: 26.16 kB / 401.7 MB, free: 5.008 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.66e-05/0.272, allocations: 56.95 kB / 401.7 MB, free: 4.965 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.2721, allocations: 97.53 kB / 401.8 MB, free: 4.898 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.2721, allocations: 0 / 401.8 MB, free: 4.898 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001789/0.2723, allocations: 138.8 kB / 401.9 MB, free: 4.82 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.2723, allocations: 5.25 kB / 402 MB, free: 4.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2723, allocations: 5.203 kB / 402 MB, free: 4.816 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.2723, allocations: 3.391 kB / 402 MB, free: 4.816 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.2725, allocations: 27.95 kB / 402 MB, free: 4.816 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.2725, allocations: 6.047 kB / 402 MB, free: 4.812 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.515e-05/0.2725, allocations: 2.875 kB / 402 MB, free: 4.812 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.2725, allocations: 6.875 kB / 402 MB, free: 4.809 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.284e-05/0.2726, allocations: 125 kB / 402.1 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.979e-05/0.2726, allocations: 9.453 kB / 402.1 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.578e-05/0.2727, allocations: 19.11 kB / 402.2 MB, free: 4.66 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.2727, allocations: 1.438 kB / 402.2 MB, free: 4.66 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.2727, allocations: 7.875 kB / 402.2 MB, free: 4.652 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.2727, allocations: 0.75 kB / 402.2 MB, free: 4.652 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004508/0.2731, allocations: 384.4 kB / 402.5 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2731, allocations: 1.797 kB / 402.5 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.2733, allocations: 25.94 kB / 402.6 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.461e-06/0.2733, allocations: 9.578 kB / 402.6 MB, free: 4.312 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.2733, allocations: 10.16 kB / 402.6 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.2733, allocations: 1.844 kB / 402.6 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2733, allocations: 1.188 kB / 402.6 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.2735, allocations: 253.9 kB / 402.8 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.485e-05/0.2735, allocations: 11.62 kB / 402.8 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.2736, allocations: 7.188 kB / 402.9 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.246e-05/0.2737, allocations: 1.156 kB / 402.9 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.652e-05/0.2737, allocations: 8.234 kB / 402.9 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.2737, allocations: 10.78 kB / 402.9 MB, free: 4.09 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.093e-05/0.2737, allocations: 94.17 kB / 403 MB, free: 4.012 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2737, allocations: 0 / 403 MB, free: 4.012 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002564/0.274, allocations: 30.16 kB / 403 MB, free: 4.004 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.000375/0.2744, allocations: 0.7799 MB / 403.8 MB, free: 3.281 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001652/0.2745, allocations: 79.23 kB / 403.9 MB, free: 3.254 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2745, allocations: 0 / 403.9 MB, free: 3.254 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.304e-05/0.2746, allocations: 37.92 kB / 403.9 MB, free: 3.242 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.2749, allocations: 20.67 kB / 403.9 MB, free: 3.234 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.2764, allocations: 1.832 MB / 405.7 MB, free: 1.66 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.926e-05/0.2765, allocations: 94.39 kB / 405.8 MB, free: 1.582 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.982e-05/0.2766, allocations: 13.42 kB / 405.8 MB, free: 1.57 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.719e-05/0.2766, allocations: 30.11 kB / 405.9 MB, free: 1.551 MB / 318.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2766, allocations: 0 / 405.9 MB, free: 1.551 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03034/0.307, allocations: 3.164 MB / 409 MB, free: 388 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.45, allocations: 7.156 kB / 409 MB, free: 384 kB / 318.1 MB " [Timeout remaining time 648] (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.959689950104803]