Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.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.001371/0.001371, allocations: 112 kB / 20.43 MB, free: 1.449 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.001522/0.001522, allocations: 188.4 kB / 23.72 MB, free: 4.684 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.405/1.405, allocations: 225.6 MB / 252.5 MB, free: 13.04 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.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 51.92 kB / 370.4 MB, free: 9.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.262, allocations: 52.18 MB / 422.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003246/0.2653, allocations: 1.794 MB / 424.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.2664, allocations: 0.6466 MB / 425 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.751e-05/0.2665, allocations: 0 / 425 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001408/0.2666, allocations: 19.8 kB / 425.1 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.39e-05/0.2667, allocations: 35.7 kB / 425.1 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.267, allocations: 51.81 kB / 425.2 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.2672, allocations: 123.4 kB / 425.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.2673, allocations: 19.98 kB / 425.3 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.137e-05/0.2674, allocations: 47.84 kB / 425.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.2675, allocations: 47.78 kB / 425.4 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.2675, allocations: 8 kB / 425.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.525e-05/0.2676, allocations: 23.98 kB / 425.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.618e-05/0.2676, allocations: 23.86 kB / 425.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.129e-05/0.2677, allocations: 51.73 kB / 425.5 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002685/0.268, allocations: 131.9 kB / 425.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.268, allocations: 4 kB / 425.6 MB, free: 11.61 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.268, allocations: 0 / 425.6 MB, free: 11.61 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.268, allocations: 0 / 425.6 MB, free: 11.61 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.0005568/0.2685, allocations: 330 kB / 425.9 MB, free: 11.26 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.2686, allocations: 8.031 kB / 426 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.58e-05/0.2686, allocations: 42.75 kB / 426 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001831/0.2688, allocations: 24.88 kB / 426 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.2691, allocations: 142.3 kB / 426.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.2691, allocations: 8.562 kB / 426.2 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.206e-05/0.2691, allocations: 20.08 kB / 426.2 MB, free: 10.99 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.2693, allocations: 85.66 kB / 426.3 MB, free: 10.9 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.2694, allocations: 4 kB / 426.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.2694, allocations: 4 kB / 426.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.2694, allocations: 0 / 426.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.2695, allocations: 59.91 kB / 426.3 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007997/0.2703, allocations: 426.7 kB / 426.8 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002926/0.2706, allocations: 86.52 kB / 426.8 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.963e-05/0.2706, allocations: 24.86 kB / 426.9 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/0.2707, allocations: 0 / 426.9 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.2707, allocations: 42.59 kB / 426.9 MB, free: 10.2 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 9.31e-07/0.2707, allocations: 0 / 426.9 MB, free: 10.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002682/0.271, allocations: 97.98 kB / 427 MB, free: 10.09 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/0.271, allocations: 55.34 kB / 427.1 MB, free: 10.03 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.2711, allocations: 125.7 kB / 427.2 MB, free: 9.895 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.2711, allocations: 29.7 kB / 427.2 MB, free: 9.859 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001758/0.2713, allocations: 104 kB / 427.3 MB, free: 9.754 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.2714, allocations: 31.73 kB / 427.3 MB, free: 9.723 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.993e-05/0.2714, allocations: 33.7 kB / 427.4 MB, free: 9.684 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.2716, allocations: 318.8 kB / 427.7 MB, free: 9.363 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.929e-05/0.2716, allocations: 23.98 kB / 427.7 MB, free: 9.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.063e-05/0.2717, allocations: 50.67 kB / 427.8 MB, free: 9.281 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.2718, allocations: 79.38 kB / 427.8 MB, free: 9.191 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2718, allocations: 0 / 427.8 MB, free: 9.191 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001902/0.272, allocations: 125.4 kB / 428 MB, free: 9.062 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.272, allocations: 7.438 kB / 428 MB, free: 9.059 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.272, allocations: 3.938 kB / 428 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.2721, allocations: 4 kB / 428 MB, free: 9.051 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.2722, allocations: 27.92 kB / 428 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.862e-06/0.2722, allocations: 3.938 kB / 428 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.659e-05/0.2722, allocations: 12.05 kB / 428 MB, free: 9.008 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.2722, allocations: 4 kB / 428 MB, free: 9.004 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 (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 0.0001123/0.2724, allocations: 121.8 kB / 428.1 MB, free: 8.875 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.193e-05/0.2724, allocations: 7.953 kB / 428.1 MB, free: 8.867 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.012e-05/0.2724, allocations: 12.38 kB / 428.2 MB, free: 8.852 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2724, allocations: 3.938 kB / 428.2 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.2724, allocations: 4 kB / 428.2 MB, free: 8.844 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.2724, allocations: 3.984 kB / 428.2 MB, free: 8.84 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.2727, allocations: 164.7 kB / 428.3 MB, free: 8.637 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.2727, allocations: 4 kB / 428.3 MB, free: 8.633 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.2728, allocations: 19.98 kB / 428.4 MB, free: 8.613 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.2728, allocations: 7.938 kB / 428.4 MB, free: 8.605 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.2728, allocations: 3.984 kB / 428.4 MB, free: 8.602 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/0.2728, allocations: 3.938 kB / 428.4 MB, free: 8.598 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2728, allocations: 0 / 428.4 MB, free: 8.598 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.2731, allocations: 203.5 kB / 428.6 MB, free: 8.383 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.273e-05/0.2731, allocations: 3.953 kB / 428.6 MB, free: 8.379 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.2731, allocations: 8 kB / 428.6 MB, free: 8.371 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.641e-05/0.2732, allocations: 7.938 kB / 428.6 MB, free: 8.363 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.021e-05/0.2732, allocations: 4.031 kB / 428.6 MB, free: 8.359 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.2732, allocations: 4 kB / 428.6 MB, free: 8.355 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.824e-05/0.2733, allocations: 91.27 kB / 428.7 MB, free: 8.266 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2733, allocations: 0 / 428.7 MB, free: 8.266 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002456/0.2735, allocations: 31.89 kB / 428.7 MB, free: 8.234 MB / 334.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.0005771/0.2741, allocations: 0.7397 MB / 429.5 MB, free: 7.469 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001604/0.2742, allocations: 59.89 kB / 429.5 MB, free: 7.41 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2742, allocations: 0 / 429.5 MB, free: 7.41 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.187e-05/0.2743, allocations: 27.94 kB / 429.5 MB, free: 7.383 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.2746, allocations: 24.14 kB / 429.6 MB, free: 7.359 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002001/0.2766, allocations: 1.714 MB / 431.3 MB, free: 5.547 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/0.277, allocations: 0.7041 MB / 432 MB, free: 4.816 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.648e-05/0.2771, allocations: 4.438 kB / 432 MB, free: 4.812 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.018e-05/0.2771, allocations: 27.42 kB / 432 MB, free: 4.785 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2771, allocations: 0 / 432 MB, free: 4.785 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02988/0.307, allocations: 2.451 MB / 434.5 MB, free: 2.469 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.07, allocations: 6.812 kB / 434.5 MB, free: 2.465 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake.fmu > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv. Warning: Get data of variable inertia.phi from file Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv failed! Error: Could not read variable eddyCurrentTorque.lossPower in file Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv. Warning: Get data of variable eddyCurrentTorque.lossPower from file Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.493835276000027]