Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.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.0008006/0.0008006, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0008377/0.0008377, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8944/0.8944, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 324.5 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.427e-05/1.577e-05, allocations: 6.281 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002089/0.002105, allocations: 1.939 MB / 326.5 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006884/0.002793, allocations: 0.6506 MB / 327.1 MB, free: 13.33 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.199e-05/0.002865, allocations: 7.938 kB / 327.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001079/0.002973, allocations: 15.86 kB / 327.2 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.167e-05/0.003035, allocations: 47.56 kB / 327.2 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002127/0.003247, allocations: 51.8 kB / 327.3 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.003389, allocations: 155.2 kB / 327.4 MB, free: 13.06 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.003504, allocations: 29.02 kB / 327.4 MB, free: 13.03 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.768e-05/0.003591, allocations: 79.8 kB / 327.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.393e-05/0.003655, allocations: 43.89 kB / 327.6 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.003673, allocations: 12 kB / 327.6 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.612e-05/0.00373, allocations: 23.98 kB / 327.6 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.205e-05/0.003752, allocations: 27.91 kB / 327.6 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.293e-05/0.003784, allocations: 39.86 kB / 327.7 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001734/0.003958, allocations: 155.5 kB / 327.8 MB, free: 12.65 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.00396, allocations: 0 / 327.8 MB, free: 12.65 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.003961, allocations: 3.984 kB / 327.8 MB, free: 12.65 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.003965, allocations: 0 / 327.8 MB, free: 12.65 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0004238/0.004389, allocations: 360.6 kB / 328.2 MB, free: 12.27 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.004422, allocations: 16.03 kB / 328.2 MB, free: 12.25 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.518e-05/0.004457, allocations: 50.73 kB / 328.2 MB, free: 12.2 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.004561, allocations: 24.88 kB / 328.3 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.004717, allocations: 145.5 kB / 328.4 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.004728, allocations: 8.375 kB / 328.4 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.00475, allocations: 8.375 kB / 328.4 MB, free: 11.99 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.004931, allocations: 118.1 kB / 328.5 MB, free: 11.87 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.004943, allocations: 7.938 kB / 328.5 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.004954, allocations: 7.938 kB / 328.6 MB, free: 11.85 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.004959, allocations: 4 kB / 328.6 MB, free: 11.85 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.005105, allocations: 83.94 kB / 328.6 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005104/0.005616, allocations: 446.7 kB / 329.1 MB, free: 11.28 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.005826, allocations: 102.5 kB / 329.2 MB, free: 11.17 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.327e-05/0.00589, allocations: 44.88 kB / 329.2 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.198e-06/0.005899, allocations: 3.938 kB / 329.2 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.509e-05/0.005914, allocations: 34.56 kB / 329.3 MB, free: 11.08 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.005915, allocations: 0 / 329.3 MB, free: 11.08 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002552/0.00617, allocations: 149.6 kB / 329.4 MB, free: 10.93 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.43e-05/0.006195, allocations: 55.41 kB / 329.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.112e-05/0.006266, allocations: 136.3 kB / 329.6 MB, free: 10.72 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.006277, allocations: 29.7 kB / 329.6 MB, free: 10.68 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.142e-05/0.006329, allocations: 116.2 kB / 329.7 MB, free: 10.56 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.00635, allocations: 35.72 kB / 329.8 MB, free: 10.53 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/0.006383, allocations: 25.72 kB / 329.8 MB, free: 10.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.236e-05/0.006456, allocations: 318.8 kB / 330.1 MB, free: 10.18 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.106e-05/0.006517, allocations: 39.97 kB / 330.1 MB, free: 10.14 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.498e-05/0.006592, allocations: 71.34 kB / 330.2 MB, free: 10.05 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.006722, allocations: 111.3 kB / 330.3 MB, free: 9.934 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.006724, allocations: 0 / 330.3 MB, free: 9.934 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001765/0.0069, allocations: 149.4 kB / 330.5 MB, free: 9.781 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.006913, allocations: 12.03 kB / 330.5 MB, free: 9.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.006918, allocations: 4 kB / 330.5 MB, free: 9.766 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.006928, allocations: 0 / 330.5 MB, free: 9.766 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.724e-05/0.007005, allocations: 27.98 kB / 330.5 MB, free: 9.738 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.007011, allocations: 11.92 kB / 330.5 MB, free: 9.727 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.192e-05/0.007053, allocations: 11.92 kB / 330.5 MB, free: 9.715 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.00706, allocations: 8 kB / 330.5 MB, free: 9.707 MB / 298.7 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 (14): * Single equations (assignments): 14 * 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.201e-05/0.007122, allocations: 121.8 kB / 330.7 MB, free: 9.578 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.652e-05/0.007139, allocations: 15.84 kB / 330.7 MB, free: 9.562 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.387e-05/0.007163, allocations: 16.77 kB / 330.7 MB, free: 9.551 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.007165, allocations: 8 kB / 330.7 MB, free: 9.543 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.007169, allocations: 0 / 330.7 MB, free: 9.543 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.007171, allocations: 0 / 330.7 MB, free: 9.543 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.007299, allocations: 172.7 kB / 330.9 MB, free: 9.332 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.0073, allocations: 4 kB / 330.9 MB, free: 9.328 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.122e-05/0.007381, allocations: 35.91 kB / 330.9 MB, free: 9.293 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.007383, allocations: 3.938 kB / 330.9 MB, free: 9.289 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.007391, allocations: 384 / 330.9 MB, free: 9.289 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.007392, allocations: 4 kB / 330.9 MB, free: 9.285 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.007393, allocations: 0 / 330.9 MB, free: 9.285 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/0.00764, allocations: 263.3 kB / 331.2 MB, free: 9.012 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.045e-05/0.007651, allocations: 11.91 kB / 331.2 MB, free: 9 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.007664, allocations: 7.875 kB / 331.2 MB, free: 8.992 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.742e-05/0.007721, allocations: 12.03 kB / 331.2 MB, free: 8.98 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.96e-05/0.007751, allocations: 7.984 kB / 331.2 MB, free: 8.973 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.007756, allocations: 4 kB / 331.2 MB, free: 8.969 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.672e-05/0.007792, allocations: 99.27 kB / 331.3 MB, free: 8.871 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007792, allocations: 0 / 331.3 MB, free: 8.871 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000154/0.007946, allocations: 32 kB / 331.3 MB, free: 8.84 MB / 298.7 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 (9): * Single equations (assignments): 9 * 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.0003806/0.008327, allocations: 0.7904 MB / 332.1 MB, free: 8.02 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001541/0.008481, allocations: 83.89 kB / 332.2 MB, free: 7.938 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.008482, allocations: 3.938 kB / 332.2 MB, free: 7.934 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.913e-05/0.008541, allocations: 44.16 kB / 332.3 MB, free: 7.891 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.008762, allocations: 20.36 kB / 332.3 MB, free: 7.871 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.01003, allocations: 1.793 MB / 334.1 MB, free: 5.973 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.405e-05/0.01009, allocations: 93.94 kB / 334.2 MB, free: 5.863 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.625e-05/0.01012, allocations: 8.484 kB / 334.2 MB, free: 5.855 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.964e-05/0.01017, allocations: 36.48 kB / 334.2 MB, free: 5.82 MB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01017, allocations: 0 / 334.2 MB, free: 5.82 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01516/0.02534, allocations: 3.471 MB / 337.7 MB, free: 2.496 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.754/6.779, allocations: 4.062 kB / 337.7 MB, free: 2.492 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake.fmu > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv. Warning: Get data of variable Time from file Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv failed! Error: Could not read variable eddyCurrentTorque.lossPower in file Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv. Warning: Get data of variable eddyCurrentTorque.lossPower from file Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv failed! Error: Could not read variable inertia.phi in file Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv. Warning: Get data of variable inertia.phi from file Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.472843863070011]