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.0009038/0.0009038, allocations: 79.7 kB / 20.67 MB, free: 3.895 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.0008213/0.0008213, allocations: 170 kB / 23.95 MB, free: 0.6172 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.8455/0.8455, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.082e-06/1.082e-06, allocations: 0 / 324.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.096e-05/1.204e-05, allocations: 6.281 kB / 324.6 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.001949/0.001961, allocations: 1.937 MB / 326.5 MB, free: 14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006613/0.002622, allocations: 0.6505 MB / 327.1 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.728e-05/0.00269, allocations: 0 / 327.1 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.926e-05/0.002789, allocations: 27.72 kB / 327.2 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.77e-05/0.002847, allocations: 39.64 kB / 327.2 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001986/0.003045, allocations: 51.8 kB / 327.3 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.003181, allocations: 155.2 kB / 327.4 MB, free: 13.08 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.003294, allocations: 29.02 kB / 327.4 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.07e-05/0.003374, allocations: 83.73 kB / 327.5 MB, free: 12.97 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.089e-05/0.003435, allocations: 43.88 kB / 327.6 MB, free: 12.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.003451, allocations: 8 kB / 327.6 MB, free: 12.92 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.535e-05/0.003507, allocations: 24 kB / 327.6 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.911e-05/0.003526, allocations: 23.86 kB / 327.6 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.331e-05/0.003559, allocations: 43.91 kB / 327.7 MB, free: 12.83 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.003722, allocations: 155.5 kB / 327.8 MB, free: 12.68 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.003723, allocations: 0 / 327.8 MB, free: 12.68 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.003724, allocations: 0 / 327.8 MB, free: 12.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.003729, allocations: 4 kB / 327.8 MB, free: 12.67 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.0004209/0.00415, allocations: 361 kB / 328.2 MB, free: 12.29 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.004181, allocations: 12.03 kB / 328.2 MB, free: 12.28 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.143e-05/0.004213, allocations: 42.75 kB / 328.2 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.969e-05/0.004313, allocations: 28.81 kB / 328.2 MB, free: 12.2 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.004468, allocations: 156 kB / 328.4 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.004478, allocations: 8.375 kB / 328.4 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.004502, allocations: 12.38 kB / 328.4 MB, free: 12.01 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.004674, allocations: 118.2 kB / 328.5 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.004685, allocations: 3.938 kB / 328.5 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.004696, allocations: 4 kB / 328.5 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.0047, allocations: 4 kB / 328.5 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000147/0.004847, allocations: 91.86 kB / 328.6 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000509/0.005356, allocations: 450.7 kB / 329.1 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.005563, allocations: 94.58 kB / 329.2 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.092e-05/0.005624, allocations: 44.88 kB / 329.2 MB, free: 11.15 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.005634, allocations: 3.938 kB / 329.2 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.005651, allocations: 38.69 kB / 329.3 MB, free: 11.1 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 9.41e-07/0.005652, allocations: 0 / 329.3 MB, free: 11.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.000256/0.005908, allocations: 153.4 kB / 329.4 MB, free: 10.94 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/0.005933, allocations: 51.41 kB / 329.5 MB, free: 10.88 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.736e-05/0.006, allocations: 136.6 kB / 329.6 MB, free: 10.74 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.006015, allocations: 25.7 kB / 329.6 MB, free: 10.71 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.163e-05/0.006067, allocations: 124.2 kB / 329.7 MB, free: 10.58 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.006086, allocations: 27.75 kB / 329.8 MB, free: 10.55 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.006119, allocations: 29.7 kB / 329.8 MB, free: 10.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.963e-05/0.006189, allocations: 318.8 kB / 330.1 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.916e-05/0.006248, allocations: 35.98 kB / 330.1 MB, free: 10.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.318e-05/0.006321, allocations: 75.27 kB / 330.2 MB, free: 10.08 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.006449, allocations: 103.3 kB / 330.3 MB, free: 9.965 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.006451, allocations: 0 / 330.3 MB, free: 9.965 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001712/0.006622, allocations: 157.4 kB / 330.5 MB, free: 9.805 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.006635, allocations: 11.94 kB / 330.5 MB, free: 9.793 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.006639, allocations: 0 / 330.5 MB, free: 9.793 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.006649, allocations: 0 / 330.5 MB, free: 9.793 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.801e-05/0.006727, allocations: 35.97 kB / 330.5 MB, free: 9.758 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.006732, allocations: 3.984 kB / 330.5 MB, free: 9.754 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.951e-05/0.006771, allocations: 7.938 kB / 330.5 MB, free: 9.746 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-06/0.00678, allocations: 8.094 kB / 330.5 MB, free: 9.738 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.215e-05/0.006842, allocations: 129.8 kB / 330.7 MB, free: 9.602 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.771e-05/0.00686, allocations: 19.83 kB / 330.7 MB, free: 9.582 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.293e-05/0.006883, allocations: 12.78 kB / 330.7 MB, free: 9.574 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.006885, allocations: 4 kB / 330.7 MB, free: 9.57 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.006888, allocations: 0 / 330.7 MB, free: 9.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.00689, allocations: 0 / 330.7 MB, free: 9.57 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.007019, allocations: 176.6 kB / 330.9 MB, free: 9.355 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.007021, allocations: 4 kB / 330.9 MB, free: 9.352 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.719e-05/0.007098, allocations: 23.98 kB / 330.9 MB, free: 9.328 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.0071, allocations: 7.938 kB / 330.9 MB, free: 9.32 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.007108, allocations: 384 / 330.9 MB, free: 9.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.007109, allocations: 7.938 kB / 330.9 MB, free: 9.312 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.00711, allocations: 3.984 kB / 330.9 MB, free: 9.309 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004457/0.007556, allocations: 255.4 kB / 331.2 MB, free: 9.043 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.13e-05/0.007567, allocations: 11.91 kB / 331.2 MB, free: 9.031 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.007582, allocations: 3.938 kB / 331.2 MB, free: 9.027 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.957e-05/0.007632, allocations: 12.03 kB / 331.2 MB, free: 9.016 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.799e-05/0.00766, allocations: 12.08 kB / 331.2 MB, free: 9.004 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.007664, allocations: 7.984 kB / 331.2 MB, free: 8.996 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.701e-05/0.007701, allocations: 99.27 kB / 331.3 MB, free: 8.898 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007701, allocations: 3.938 kB / 331.3 MB, free: 8.895 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001578/0.007859, allocations: 28 kB / 331.3 MB, free: 8.867 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.0003744/0.008233, allocations: 0.7981 MB / 332.1 MB, free: 8.039 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000159/0.008392, allocations: 91.92 kB / 332.2 MB, free: 7.949 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.008394, allocations: 0 / 332.2 MB, free: 7.949 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.732e-05/0.008451, allocations: 39.92 kB / 332.3 MB, free: 7.91 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.008665, allocations: 20.36 kB / 332.3 MB, free: 7.891 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.009898, allocations: 1.789 MB / 334.1 MB, free: 5.996 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.093e-05/0.009949, allocations: 97.92 kB / 334.2 MB, free: 5.883 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.601e-05/0.009985, allocations: 12.48 kB / 334.2 MB, free: 5.871 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.985e-05/0.01003, allocations: 36.48 kB / 334.2 MB, free: 5.836 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01004, allocations: 0 / 334.2 MB, free: 5.836 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01404/0.02407, allocations: 3.46 MB / 337.7 MB, free: 2.52 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.413/6.437, allocations: 7.328 kB / 337.7 MB, free: 2.516 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.965859810821712]