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.001793/0.001793, allocations: 107.5 kB / 20.44 MB, free: 1.066 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.001999/0.001999, allocations: 184.1 kB / 23.7 MB, free: 4.191 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.42/1.42, allocations: 225.7 MB / 252.5 MB, free: 12.85 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.001736/0.001736, allocations: 51.92 kB / 370.4 MB, free: 9.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2913, allocations: 52.18 MB / 422.6 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.00373/0.2951, allocations: 1.735 MB / 424.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.2962, allocations: 0.5766 MB / 424.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.2963, allocations: 7.938 kB / 424.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.2965, allocations: 11.86 kB / 424.9 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.2966, allocations: 35.7 kB / 424.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002671/0.2968, allocations: 51.81 kB / 425 MB, free: 12 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.297, allocations: 123.4 kB / 425.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.2971, allocations: 23.95 kB / 425.1 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.102e-05/0.2972, allocations: 47.8 kB / 425.2 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.535e-05/0.2973, allocations: 39.78 kB / 425.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.2973, allocations: 8 kB / 425.2 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.832e-05/0.2974, allocations: 23.98 kB / 425.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.524e-05/0.2974, allocations: 19.92 kB / 425.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.706e-05/0.2975, allocations: 43.8 kB / 425.3 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.2977, allocations: 129.2 kB / 425.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2977, allocations: 0 / 425.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2977, allocations: 0 / 425.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.2977, allocations: 4 kB / 425.4 MB, free: 11.54 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.0005485/0.2983, allocations: 334 kB / 425.8 MB, free: 11.19 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.2983, allocations: 8.031 kB / 425.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.817e-05/0.2984, allocations: 46.73 kB / 425.8 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001921/0.2986, allocations: 28.81 kB / 425.8 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.2989, allocations: 130.4 kB / 426 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.2989, allocations: 8.562 kB / 426 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.699e-05/0.2989, allocations: 24.08 kB / 426 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.2991, allocations: 89.59 kB / 426.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.2991, allocations: 0 / 426.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.2991, allocations: 4 kB / 426.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.2991, allocations: 4 kB / 426.1 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.2993, allocations: 67.83 kB / 426.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008018/0.3001, allocations: 406.8 kB / 426.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002558/0.3003, allocations: 82.61 kB / 426.6 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.969e-05/0.3004, allocations: 32.86 kB / 426.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.3004, allocations: 3.938 kB / 426.7 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.3004, allocations: 30.56 kB / 426.7 MB, free: 10.13 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.243e-06/0.3004, allocations: 0 / 426.7 MB, free: 10.13 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002617/0.3007, allocations: 93.67 kB / 426.8 MB, free: 10.04 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.3007, allocations: 55.34 kB / 426.8 MB, free: 9.969 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.3008, allocations: 125.7 kB / 427 MB, free: 9.836 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.3009, allocations: 25.7 kB / 427 MB, free: 9.805 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.3e-05/0.3009, allocations: 108 kB / 427.1 MB, free: 9.695 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.301, allocations: 35.69 kB / 427.1 MB, free: 9.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.344e-05/0.301, allocations: 29.72 kB / 427.2 MB, free: 9.625 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.3012, allocations: 322.8 kB / 427.5 MB, free: 9.301 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.867e-05/0.3012, allocations: 23.98 kB / 427.5 MB, free: 9.277 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.962e-05/0.3013, allocations: 51.36 kB / 427.6 MB, free: 9.215 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.3014, allocations: 75.38 kB / 427.6 MB, free: 9.129 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3014, allocations: 0 / 427.6 MB, free: 9.129 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001737/0.3016, allocations: 113.5 kB / 427.7 MB, free: 9.012 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.3016, allocations: 8.094 kB / 427.7 MB, free: 9.004 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.3016, allocations: 7.938 kB / 427.8 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.3016, allocations: 0 / 427.8 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.3017, allocations: 27.94 kB / 427.8 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.3017, allocations: 7.984 kB / 427.8 MB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.532e-05/0.3018, allocations: 3.938 kB / 427.8 MB, free: 8.957 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.3018, allocations: 4.094 kB / 427.8 MB, free: 8.953 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.0001054/0.3019, allocations: 125.7 kB / 427.9 MB, free: 8.82 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.994e-05/0.3019, allocations: 7.953 kB / 427.9 MB, free: 8.812 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.942e-05/0.302, allocations: 12.38 kB / 427.9 MB, free: 8.797 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.302, allocations: 7.938 kB / 427.9 MB, free: 8.789 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.302, allocations: 4 kB / 428 MB, free: 8.785 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.302, allocations: 0 / 428 MB, free: 8.785 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002194/0.3022, allocations: 168.9 kB / 428.1 MB, free: 8.578 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.3022, allocations: 0 / 428.1 MB, free: 8.578 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.3023, allocations: 16 kB / 428.1 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.3023, allocations: 3.984 kB / 428.1 MB, free: 8.559 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.3023, allocations: 4 kB / 428.1 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.3024, allocations: 7.938 kB / 428.1 MB, free: 8.547 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3024, allocations: 0 / 428.1 MB, free: 8.547 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002582/0.3026, allocations: 203.8 kB / 428.3 MB, free: 8.332 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.504e-05/0.3026, allocations: 8 kB / 428.4 MB, free: 8.324 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.3026, allocations: 4 kB / 428.4 MB, free: 8.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.624e-05/0.3027, allocations: 7.938 kB / 428.4 MB, free: 8.312 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.7e-05/0.3027, allocations: 4.031 kB / 428.4 MB, free: 8.309 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.3027, allocations: 4 kB / 428.4 MB, free: 8.305 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.904e-05/0.3028, allocations: 95.2 kB / 428.5 MB, free: 8.211 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3028, allocations: 0 / 428.5 MB, free: 8.211 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002544/0.3031, allocations: 31.89 kB / 428.5 MB, free: 8.18 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.0005693/0.3036, allocations: 0.7362 MB / 429.2 MB, free: 7.418 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001474/0.3038, allocations: 67.97 kB / 429.3 MB, free: 7.352 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3038, allocations: 0 / 429.3 MB, free: 7.352 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.339e-05/0.3038, allocations: 23.98 kB / 429.3 MB, free: 7.328 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.3042, allocations: 19.94 kB / 429.3 MB, free: 7.309 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002061/0.3062, allocations: 1.726 MB / 431.1 MB, free: 5.484 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.97e-05/0.3063, allocations: 84.2 kB / 431.2 MB, free: 5.383 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.458e-05/0.3064, allocations: 8.422 kB / 431.2 MB, free: 5.371 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.045e-05/0.3064, allocations: 27.42 kB / 431.2 MB, free: 5.348 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3064, allocations: 0 / 431.2 MB, free: 5.348 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03186/0.3383, allocations: 2.864 MB / 434 MB, free: 2.629 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.64, allocations: 10.8 kB / 434.1 MB, free: 2.621 MB / 334.1 MB " [Timeout remaining time 648] (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: 14.114410675596446]