Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.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.0008581/0.0008581, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008033/0.0008033, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.8406/0.8406, allocations: 173.4 MB / 200.4 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] 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.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 318.4 MB, free: 6.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.388e-05/1.517e-05, allocations: 2.281 kB / 318.4 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002027/0.002042, allocations: 1.713 MB / 320.1 MB, free: 4.645 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006468/0.002689, allocations: 0.6076 MB / 320.7 MB, free: 4.031 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.822e-05/0.002757, allocations: 4 kB / 320.7 MB, free: 4.027 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.748e-05/0.002855, allocations: 27.67 kB / 320.8 MB, free: 4 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.36e-05/0.002909, allocations: 31.7 kB / 320.8 MB, free: 3.969 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.003109, allocations: 55.8 kB / 320.9 MB, free: 3.914 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.003236, allocations: 131.3 kB / 321 MB, free: 3.785 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.003349, allocations: 21.56 kB / 321 MB, free: 3.758 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.778e-05/0.003417, allocations: 67.83 kB / 321.1 MB, free: 3.691 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.375e-05/0.003491, allocations: 35.89 kB / 321.1 MB, free: 3.656 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.003508, allocations: 8 kB / 321.1 MB, free: 3.648 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.172e-05/0.00358, allocations: 27.92 kB / 321.1 MB, free: 3.621 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.183e-05/0.003602, allocations: 19.91 kB / 321.2 MB, free: 3.602 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.145e-05/0.003633, allocations: 35.92 kB / 321.2 MB, free: 3.566 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.003808, allocations: 127.6 kB / 321.3 MB, free: 3.441 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.003811, allocations: 11.98 kB / 321.3 MB, free: 3.43 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.003812, allocations: 0 / 321.3 MB, free: 3.43 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.003816, allocations: 0 / 321.3 MB, free: 3.43 MB / 282.7 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.0003996/0.004216, allocations: 334 kB / 321.7 MB, free: 3.074 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.004253, allocations: 12.92 kB / 321.7 MB, free: 3.062 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.119e-05/0.004285, allocations: 34.75 kB / 321.7 MB, free: 3.02 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.004403, allocations: 36.81 kB / 321.7 MB, free: 2.984 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.00457, allocations: 137.7 kB / 321.9 MB, free: 2.824 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.308e-06/0.004579, allocations: 4.562 kB / 321.9 MB, free: 2.82 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.004602, allocations: 8.375 kB / 321.9 MB, free: 2.812 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.004744, allocations: 102.1 kB / 322 MB, free: 2.707 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.004753, allocations: 0 / 322 MB, free: 2.707 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.004764, allocations: 3.984 kB / 322 MB, free: 2.703 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.00477, allocations: 4 kB / 322 MB, free: 2.699 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.476e-05/0.004865, allocations: 67.09 kB / 322.1 MB, free: 2.637 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000435/0.0053, allocations: 399 kB / 322.4 MB, free: 2.195 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.005503, allocations: 102.6 kB / 322.5 MB, free: 2.086 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.671e-05/0.005539, allocations: 24.86 kB / 322.6 MB, free: 2.059 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.418e-06/0.005549, allocations: 3.984 kB / 322.6 MB, free: 2.055 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.543e-05/0.005564, allocations: 38.5 kB / 322.6 MB, free: 2.008 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 1.683e-06/0.005566, allocations: 0 / 322.6 MB, free: 2.008 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007189/0.006285, allocations: 393.3 kB / 323 MB, free: 1.59 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.006312, allocations: 51.41 kB / 323 MB, free: 1.527 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.43e-05/0.006376, allocations: 124.8 kB / 323.2 MB, free: 1.395 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.006386, allocations: 33.7 kB / 323.2 MB, free: 1.355 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.376e-05/0.00643, allocations: 99.98 kB / 323.3 MB, free: 1.254 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.006453, allocations: 47.58 kB / 323.3 MB, free: 1.207 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.082e-05/0.006494, allocations: 33.7 kB / 323.4 MB, free: 1.168 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.865e-05/0.006563, allocations: 326.8 kB / 323.7 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.493e-05/0.006598, allocations: 24 kB / 323.7 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.133e-05/0.006649, allocations: 62.38 kB / 323.8 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.856e-05/0.006738, allocations: 99.31 kB / 323.9 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.006738, allocations: 0 / 323.9 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001219/0.00686, allocations: 129.5 kB / 324 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.006872, allocations: 8 kB / 324 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.006877, allocations: 0 / 324 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.006887, allocations: 4.062 kB / 324 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.566e-05/0.006963, allocations: 32.03 kB / 324.1 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.006967, allocations: 0 / 324.1 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.877e-05/0.006996, allocations: 11.98 kB / 324.1 MB, free: 460 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.007003, allocations: 4 kB / 324.1 MB, free: 456 kB / 282.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 (17): * Single equations (assignments): 17 * 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 5.993e-05/0.007063, allocations: 129.7 kB / 324.2 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.474e-05/0.007078, allocations: 7.953 kB / 324.2 MB, free: 308 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.504e-05/0.007103, allocations: 16.44 kB / 324.2 MB, free: 292 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.007104, allocations: 0 / 324.2 MB, free: 292 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.007107, allocations: 0 / 324.2 MB, free: 292 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.00711, allocations: 4 kB / 324.2 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000328/0.007438, allocations: 391.1 kB / 324.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.007439, allocations: 3.938 kB / 324.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.988e-05/0.007519, allocations: 31.98 kB / 324.6 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.00752, allocations: 0 / 324.6 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.007528, allocations: 4 kB / 324.6 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.007532, allocations: 7.938 kB / 324.7 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.007533, allocations: 0 / 324.7 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.007716, allocations: 249.2 kB / 324.9 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.034e-05/0.007727, allocations: 11.98 kB / 324.9 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.007739, allocations: 0 / 324.9 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.132e-05/0.00778, allocations: 7.938 kB / 324.9 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.549e-05/0.007796, allocations: 7.984 kB / 324.9 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.007802, allocations: 4 kB / 324.9 MB, free: 15.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.368e-05/0.007835, allocations: 99.36 kB / 325 MB, free: 15.4 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007835, allocations: 3.938 kB / 325 MB, free: 15.4 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001562/0.007992, allocations: 23.94 kB / 325 MB, free: 15.38 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mass.s,mass.v,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 (12): * Single equations (assignments): 12 * 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.0003336/0.008325, allocations: 0.789 MB / 325.8 MB, free: 14.55 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001308/0.008456, allocations: 79.91 kB / 325.9 MB, free: 14.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.008457, allocations: 0 / 325.9 MB, free: 14.48 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.673e-05/0.008494, allocations: 39.92 kB / 326 MB, free: 14.44 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.008718, allocations: 20.14 kB / 326 MB, free: 14.42 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.009961, allocations: 1.732 MB / 327.7 MB, free: 12.58 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.454e-05/0.01002, allocations: 92.27 kB / 327.8 MB, free: 12.47 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.982e-05/0.01006, allocations: 8.984 kB / 327.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.785e-05/0.0101, allocations: 28.48 kB / 327.8 MB, free: 12.43 MB / 298.7 MB Notification: Performance of SimCode: time 3.9e-07/0.0101, allocations: 4 kB / 327.8 MB, free: 12.43 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01417/0.02428, allocations: 3.303 MB / 331.1 MB, free: 9.254 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.752/6.776, allocations: 3.938 kB / 331.1 MB, free: 9.25 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.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: 8.321440622210503]