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.001529/0.001529, allocations: 107.5 kB / 20.44 MB, free: 1.355 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.001532/0.001532, allocations: 193.2 kB / 23.71 MB, free: 4.555 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.407/1.407, allocations: 225.7 MB / 252.5 MB, free: 12.86 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.001698/0.001698, allocations: 55.92 kB / 370.4 MB, free: 9.707 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2502, allocations: 52.18 MB / 422.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002974/0.2532, allocations: 1.743 MB / 424.3 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.2543, allocations: 0.5805 MB / 424.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.697e-05/0.2544, allocations: 0 / 424.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001318/0.2545, allocations: 19.8 kB / 424.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.217e-05/0.2546, allocations: 35.7 kB / 424.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.2548, allocations: 51.81 kB / 425 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001966/0.255, allocations: 127.4 kB / 425.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.2552, allocations: 25.36 kB / 425.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.088e-05/0.2552, allocations: 47.8 kB / 425.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.2553, allocations: 43.77 kB / 425.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.2554, allocations: 8 kB / 425.2 MB, free: 11.72 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.573e-05/0.2554, allocations: 27.98 kB / 425.3 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.599e-05/0.2555, allocations: 15.92 kB / 425.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.622e-05/0.2555, allocations: 47.8 kB / 425.3 MB, free: 11.63 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.2558, allocations: 129.3 kB / 425.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.2558, allocations: 8 kB / 425.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2558, allocations: 0 / 425.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.2558, allocations: 0 / 425.5 MB, free: 11.5 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.0005626/0.2563, allocations: 334 kB / 425.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.2564, allocations: 8.031 kB / 425.8 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.14e-05/0.2564, allocations: 46.73 kB / 425.8 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001862/0.2566, allocations: 32.77 kB / 425.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.2569, allocations: 142.3 kB / 426 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.2569, allocations: 8.562 kB / 426 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.296e-05/0.2569, allocations: 12.12 kB / 426 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002145/0.2571, allocations: 95.52 kB / 426.1 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.2572, allocations: 0 / 426.1 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.2572, allocations: 8 kB / 426.1 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.2572, allocations: 0 / 426.1 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.2573, allocations: 63.84 kB / 426.2 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006674/0.258, allocations: 398.9 kB / 426.6 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002682/0.2582, allocations: 102.5 kB / 426.7 MB, free: 10.15 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.643e-05/0.2583, allocations: 28.84 kB / 426.7 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.2583, allocations: 4 kB / 426.7 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.2583, allocations: 38.56 kB / 426.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.2583, allocations: 0 / 426.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001232/0.2596, allocations: 381.1 kB / 427.1 MB, free: 9.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.2596, allocations: 59.41 kB / 427.2 MB, free: 9.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.2597, allocations: 130 kB / 427.3 MB, free: 9.449 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.2598, allocations: 29.64 kB / 427.3 MB, free: 9.414 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.032e-05/0.2598, allocations: 104 kB / 427.4 MB, free: 9.309 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.308e-05/0.2599, allocations: 47.62 kB / 427.5 MB, free: 9.262 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.272e-05/0.2599, allocations: 29.72 kB / 427.5 MB, free: 9.227 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.2601, allocations: 322.8 kB / 427.8 MB, free: 8.902 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.171e-05/0.2601, allocations: 31.98 kB / 427.9 MB, free: 8.871 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.135e-05/0.2602, allocations: 57.61 kB / 427.9 MB, free: 8.805 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.2604, allocations: 96.23 kB / 428 MB, free: 8.699 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.2604, allocations: 0 / 428 MB, free: 8.699 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002072/0.2606, allocations: 129.5 kB / 428.1 MB, free: 8.566 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.2606, allocations: 8 kB / 428.1 MB, free: 8.559 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.2606, allocations: 0 / 428.1 MB, free: 8.559 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.2606, allocations: 8.062 kB / 428.1 MB, free: 8.551 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.2607, allocations: 31.92 kB / 428.2 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.2608, allocations: 3.938 kB / 428.2 MB, free: 8.516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.138e-05/0.2608, allocations: 8 kB / 428.2 MB, free: 8.508 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.2608, allocations: 4 kB / 428.2 MB, free: 8.504 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.0001058/0.2609, allocations: 125.7 kB / 428.3 MB, free: 8.371 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.261, allocations: 7.953 kB / 428.3 MB, free: 8.363 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.611e-05/0.261, allocations: 16.38 kB / 428.3 MB, free: 8.348 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.261, allocations: 0 / 428.3 MB, free: 8.348 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.261, allocations: 7.875 kB / 428.3 MB, free: 8.34 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.261, allocations: 7.984 kB / 428.4 MB, free: 8.332 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00054/0.2616, allocations: 379.3 kB / 428.7 MB, free: 7.906 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.2616, allocations: 4 kB / 428.7 MB, free: 7.902 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/0.2617, allocations: 27.92 kB / 428.8 MB, free: 7.875 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.2617, allocations: 7.938 kB / 428.8 MB, free: 7.867 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.2617, allocations: 4 kB / 428.8 MB, free: 7.863 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2617, allocations: 0 / 428.8 MB, free: 7.863 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.2617, allocations: 7.938 kB / 428.8 MB, free: 7.855 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002929/0.262, allocations: 257.2 kB / 429 MB, free: 7.582 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.806e-05/0.262, allocations: 11.89 kB / 429 MB, free: 7.57 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.2621, allocations: 0 / 429 MB, free: 7.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.68e-05/0.2621, allocations: 8 kB / 429 MB, free: 7.562 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.939e-05/0.2622, allocations: 8.031 kB / 429.1 MB, free: 7.555 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.2622, allocations: 0 / 429.1 MB, free: 7.555 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.408e-05/0.2622, allocations: 97.89 kB / 429.2 MB, free: 7.461 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2622, allocations: 0 / 429.2 MB, free: 7.461 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002503/0.2625, allocations: 24 kB / 429.2 MB, free: 7.438 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.0005636/0.2631, allocations: 0.8039 MB / 430 MB, free: 6.602 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001716/0.2632, allocations: 79.95 kB / 430.1 MB, free: 6.523 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2632, allocations: 0 / 430.1 MB, free: 6.523 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.315e-05/0.2633, allocations: 43.86 kB / 430.1 MB, free: 6.48 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.2636, allocations: 16.28 kB / 430.1 MB, free: 6.465 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.2655, allocations: 1.814 MB / 431.9 MB, free: 4.543 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.751e-05/0.2656, allocations: 100 kB / 432 MB, free: 4.426 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.668e-05/0.2657, allocations: 8.984 kB / 432 MB, free: 4.414 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.561e-05/0.2658, allocations: 35.42 kB / 432.1 MB, free: 4.379 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2658, allocations: 0 / 432.1 MB, free: 4.379 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02998/0.2957, allocations: 3.169 MB / 435.2 MB, free: 1.359 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.32, allocations: 6.859 kB / 435.2 MB, free: 1.355 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.724654779303819]