Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001357/0.001357, allocations: 109.9 kB / 21.18 MB, free: 0.6992 MB / 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.001433/0.001433, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.32/1.32, allocations: 207.6 MB / 235.3 MB, free: 10.01 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.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_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.001725/0.001725, allocations: 47.92 kB / 347.2 MB, free: 10.14 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2761, allocations: 49.16 MB / 396.3 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002776/0.2789, allocations: 1.784 MB / 398.1 MB, free: 7.766 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008987/0.2798, allocations: 0.6949 MB / 398.8 MB, free: 7.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.814e-05/0.2799, allocations: 2.062 kB / 398.8 MB, free: 7.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.28, allocations: 13.97 kB / 398.8 MB, free: 7.262 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.761e-05/0.28, allocations: 38.33 kB / 398.9 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002296/0.2803, allocations: 51.33 kB / 398.9 MB, free: 7.203 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.2804, allocations: 117.4 kB / 399 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.2805, allocations: 19.67 kB / 399.1 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.475e-05/0.2806, allocations: 48.59 kB / 399.1 MB, free: 7.113 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.388e-05/0.2807, allocations: 43.53 kB / 399.1 MB, free: 7.094 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.2807, allocations: 7.719 kB / 399.1 MB, free: 7.094 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.07e-05/0.2808, allocations: 30.14 kB / 399.2 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.114e-05/0.2808, allocations: 18.23 kB / 399.2 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.282e-05/0.2809, allocations: 54.12 kB / 399.2 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.2811, allocations: 130.3 kB / 399.4 MB, free: 7 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2811, allocations: 0.8438 kB / 399.4 MB, free: 7 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2811, allocations: 0 / 399.4 MB, free: 7 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.2811, allocations: 1.219 kB / 399.4 MB, free: 7 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.0004802/0.2816, allocations: 330.3 kB / 399.7 MB, free: 6.695 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.2816, allocations: 14.81 kB / 399.7 MB, free: 6.691 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.597e-05/0.2817, allocations: 43.23 kB / 399.8 MB, free: 6.645 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001913/0.2819, allocations: 28.78 kB / 399.8 MB, free: 6.637 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.2821, allocations: 137.3 kB / 399.9 MB, free: 6.492 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.2821, allocations: 5.109 kB / 399.9 MB, free: 6.492 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.412e-05/0.2821, allocations: 15.59 kB / 399.9 MB, free: 6.484 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.2823, allocations: 94.48 kB / 400 MB, free: 6.426 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.2823, allocations: 5.047 kB / 400 MB, free: 6.422 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.2823, allocations: 1 kB / 400 MB, free: 6.422 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.2823, allocations: 2.312 kB / 400 MB, free: 6.422 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.2824, allocations: 67.14 kB / 400.1 MB, free: 6.395 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006602/0.2831, allocations: 416 kB / 400.5 MB, free: 6.062 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/0.2833, allocations: 81.91 kB / 400.6 MB, free: 6.016 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.664e-05/0.2834, allocations: 33.11 kB / 400.6 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.2834, allocations: 0 / 400.6 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.2834, allocations: 36.52 kB / 400.7 MB, free: 5.949 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 8.52e-07/0.2834, allocations: 3.938 kB / 400.7 MB, free: 5.945 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002249/0.2836, allocations: 102 kB / 400.8 MB, free: 5.883 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.41e-05/0.2837, allocations: 56.38 kB / 400.8 MB, free: 5.816 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.477e-05/0.2837, allocations: 119.4 kB / 400.9 MB, free: 5.711 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.448e-06/0.2837, allocations: 26.7 kB / 401 MB, free: 5.68 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.899e-05/0.2838, allocations: 115.5 kB / 401.1 MB, free: 5.57 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.2838, allocations: 29.91 kB / 401.1 MB, free: 5.547 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/0.2839, allocations: 27.55 kB / 401.1 MB, free: 5.523 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.076e-05/0.2839, allocations: 316.1 kB / 401.4 MB, free: 5.211 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.303e-05/0.2839, allocations: 29.42 kB / 401.5 MB, free: 5.195 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.471e-05/0.284, allocations: 54.58 kB / 401.5 MB, free: 5.148 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.362e-05/0.2841, allocations: 77.86 kB / 401.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2841, allocations: 1.188 kB / 401.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001433/0.2842, allocations: 117.1 kB / 401.7 MB, free: 5.02 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.2843, allocations: 5.875 kB / 401.7 MB, free: 5.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2843, allocations: 2.109 kB / 401.7 MB, free: 5.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.2843, allocations: 5.281 kB / 401.7 MB, free: 5.016 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.2844, allocations: 27.33 kB / 401.8 MB, free: 5.012 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.2844, allocations: 1.969 kB / 401.8 MB, free: 5.012 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.563e-05/0.2845, allocations: 14.48 kB / 401.8 MB, free: 5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.2845, allocations: 3.75 kB / 401.8 MB, free: 5 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 (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 6.225e-05/0.2845, allocations: 119.4 kB / 401.9 MB, free: 4.879 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.2846, allocations: 8.203 kB / 401.9 MB, free: 4.875 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.814e-05/0.2846, allocations: 15.14 kB / 401.9 MB, free: 4.863 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.2846, allocations: 5.312 kB / 401.9 MB, free: 4.859 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2846, allocations: 4 kB / 401.9 MB, free: 4.855 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.2846, allocations: 0.75 kB / 401.9 MB, free: 4.855 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.2848, allocations: 168.8 kB / 402.1 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2848, allocations: 0 / 402.1 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.2849, allocations: 20 kB / 402.1 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.2849, allocations: 1.312 kB / 402.1 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.2849, allocations: 5.969 kB / 402.1 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.2849, allocations: 3.938 kB / 402.1 MB, free: 4.676 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.2849, allocations: 4.5 kB / 402.1 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.2852, allocations: 206.1 kB / 402.3 MB, free: 4.508 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.146e-05/0.2852, allocations: 6.109 kB / 402.3 MB, free: 4.504 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.2852, allocations: 5.844 kB / 402.3 MB, free: 4.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.261e-05/0.2853, allocations: 5.062 kB / 402.3 MB, free: 4.496 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.484e-05/0.2853, allocations: 4.844 kB / 402.3 MB, free: 4.496 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.2853, allocations: 2.531 kB / 402.3 MB, free: 4.496 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.545e-05/0.2853, allocations: 96.06 kB / 402.4 MB, free: 4.414 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2853, allocations: 0 / 402.4 MB, free: 4.414 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002423/0.2856, allocations: 33.41 kB / 402.5 MB, free: 4.402 MB / 318.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.0003193/0.2859, allocations: 0.7356 MB / 403.2 MB, free: 3.707 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001492/0.286, allocations: 62.98 kB / 403.3 MB, free: 3.684 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.286, allocations: 0 / 403.3 MB, free: 3.684 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.77e-05/0.2861, allocations: 21.75 kB / 403.3 MB, free: 3.68 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.2864, allocations: 33.95 kB / 403.3 MB, free: 3.656 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.2878, allocations: 1.705 MB / 405 MB, free: 2.156 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.288, allocations: 0.7021 MB / 405.7 MB, free: 1.457 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.779e-05/0.288, allocations: 10.31 kB / 405.7 MB, free: 1.453 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.685e-05/0.2881, allocations: 27.91 kB / 405.8 MB, free: 1.434 MB / 318.1 MB Notification: Performance of SimCode: time 3e-07/0.2881, allocations: 4 kB / 405.8 MB, free: 1.43 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02968/0.3177, allocations: 2.454 MB / 408.2 MB, free: 0.75 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.24, allocations: 6.281 kB / 408.2 MB, free: 0.7461 MB / 318.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake.fmu > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv. Warning: Get data of variable inertia.phi from file Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv failed! Error: Could not read variable eddyCurrentTorque.lossPower in file Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv. Warning: Get data of variable eddyCurrentTorque.lossPower from file Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.564829998998903]