Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001136/0.001136, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001114/0.001114, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8966/0.8966, allocations: 177 MB / 204.1 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.027e-05/2.23e-05, allocations: 3.266 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002358/0.00238, allocations: 1.958 MB / 326.5 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008609/0.003241, allocations: 0.6506 MB / 327.1 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.002e-05/0.003331, allocations: 4 kB / 327.1 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001133/0.003444, allocations: 15.8 kB / 327.1 MB, free: 13.24 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.027e-05/0.003515, allocations: 55.56 kB / 327.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002503/0.003765, allocations: 47.81 kB / 327.2 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.003933, allocations: 159.2 kB / 327.4 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.004072, allocations: 33 kB / 327.4 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.004179, allocations: 75.81 kB / 327.5 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.957e-05/0.004258, allocations: 47.88 kB / 327.5 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.004279, allocations: 8 kB / 327.5 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.993e-05/0.004349, allocations: 28 kB / 327.6 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.342e-05/0.004373, allocations: 27.89 kB / 327.6 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.98e-05/0.004412, allocations: 39.92 kB / 327.6 MB, free: 12.72 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.004614, allocations: 151.5 kB / 327.8 MB, free: 12.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.004618, allocations: 0 / 327.8 MB, free: 12.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.00462, allocations: 0 / 327.8 MB, free: 12.57 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.004626, allocations: 4 kB / 327.8 MB, free: 12.57 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.0005016/0.005127, allocations: 365.7 kB / 328.1 MB, free: 12.18 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.005169, allocations: 19.98 kB / 328.2 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.784e-05/0.005206, allocations: 42.73 kB / 328.2 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000133/0.005339, allocations: 32.83 kB / 328.2 MB, free: 12.08 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.005556, allocations: 141.6 kB / 328.4 MB, free: 11.92 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.005568, allocations: 8.375 kB / 328.4 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.005593, allocations: 12.38 kB / 328.4 MB, free: 11.9 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.005793, allocations: 110.2 kB / 328.5 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.005808, allocations: 11.83 kB / 328.5 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.00582, allocations: 8 kB / 328.5 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.005826, allocations: 4 kB / 328.5 MB, free: 11.76 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001705/0.005997, allocations: 95.92 kB / 328.6 MB, free: 11.67 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005762/0.006573, allocations: 434.7 kB / 329 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002713/0.006844, allocations: 110.6 kB / 329.1 MB, free: 11.08 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.126e-05/0.006915, allocations: 48.98 kB / 329.2 MB, free: 11.03 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.006928, allocations: 4 kB / 329.2 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.006947, allocations: 38.5 kB / 329.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.006948, allocations: 3.938 kB / 329.2 MB, free: 10.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007269/0.007675, allocations: 412.8 kB / 329.6 MB, free: 10.54 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.007708, allocations: 51.41 kB / 329.7 MB, free: 10.47 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.062e-05/0.007798, allocations: 134.2 kB / 329.8 MB, free: 10.33 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.007812, allocations: 25.7 kB / 329.9 MB, free: 10.3 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.366e-05/0.007876, allocations: 116.2 kB / 330 MB, free: 10.18 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.007906, allocations: 51.53 kB / 330 MB, free: 10.13 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.12e-05/0.007947, allocations: 33.64 kB / 330 MB, free: 10.09 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.198e-05/0.008029, allocations: 326.8 kB / 330.4 MB, free: 9.762 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.96e-05/0.008108, allocations: 43.97 kB / 330.4 MB, free: 9.719 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.867e-05/0.008207, allocations: 78.38 kB / 330.5 MB, free: 9.633 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.008367, allocations: 122.6 kB / 330.6 MB, free: 9.504 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.00837, allocations: 4 kB / 330.6 MB, free: 9.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000208/0.008578, allocations: 161.5 kB / 330.8 MB, free: 9.336 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.008595, allocations: 4 kB / 330.8 MB, free: 9.332 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.008602, allocations: 8.062 kB / 330.8 MB, free: 9.324 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.00862, allocations: 3.938 kB / 330.8 MB, free: 9.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.008727, allocations: 47.91 kB / 330.8 MB, free: 9.273 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.008733, allocations: 0 / 330.8 MB, free: 9.273 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.646e-05/0.008779, allocations: 7.984 kB / 330.8 MB, free: 9.266 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.008789, allocations: 8 kB / 330.8 MB, free: 9.258 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 (18): * Single equations (assignments): 18 * 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 8.195e-05/0.008871, allocations: 129.8 kB / 331 MB, free: 9.121 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.127e-05/0.008893, allocations: 11.91 kB / 331 MB, free: 9.109 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.545e-05/0.008928, allocations: 16.78 kB / 331 MB, free: 9.098 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.008933, allocations: 7.938 kB / 331 MB, free: 9.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.008938, allocations: 0 / 331 MB, free: 9.09 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.008942, allocations: 3.984 kB / 331 MB, free: 9.086 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007498/0.009692, allocations: 427.1 kB / 331.4 MB, free: 8.613 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.009694, allocations: 0 / 331.4 MB, free: 8.613 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.009803, allocations: 39.92 kB / 331.5 MB, free: 8.574 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.009807, allocations: 8.047 kB / 331.5 MB, free: 8.566 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.009817, allocations: 4 kB / 331.5 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.009819, allocations: 0 / 331.5 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.009821, allocations: 0 / 331.5 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003142/0.01013, allocations: 305 kB / 331.8 MB, free: 8.242 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.144e-05/0.01015, allocations: 7.953 kB / 331.8 MB, free: 8.234 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.01016, allocations: 4 kB / 331.8 MB, free: 8.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.755e-05/0.01022, allocations: 8.031 kB / 331.8 MB, free: 8.223 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/0.01026, allocations: 19.92 kB / 331.8 MB, free: 8.203 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.01026, allocations: 4 kB / 331.8 MB, free: 8.199 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.192e-05/0.01031, allocations: 106.4 kB / 331.9 MB, free: 8.098 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01031, allocations: 0 / 331.9 MB, free: 8.098 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001699/0.01048, allocations: 31.94 kB / 332 MB, free: 8.066 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 (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 Backend phase and start with SimCode phase: time 0.0004916/0.01097, allocations: 0.8272 MB / 332.8 MB, free: 7.203 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002121/0.01118, allocations: 122.2 kB / 332.9 MB, free: 7.086 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.01118, allocations: 0 / 332.9 MB, free: 7.086 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.14e-05/0.01126, allocations: 55.91 kB / 333 MB, free: 7.031 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.01156, allocations: 29.8 kB / 333 MB, free: 7.004 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/0.01319, allocations: 1.896 MB / 334.9 MB, free: 4.996 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.603e-05/0.01325, allocations: 98.27 kB / 335 MB, free: 4.883 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.1e-05/0.0133, allocations: 12.64 kB / 335 MB, free: 4.871 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.394e-05/0.01337, allocations: 36.5 kB / 335 MB, free: 4.836 MB / 298.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01337, allocations: 0 / 335 MB, free: 4.836 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0176/0.03097, allocations: 3.777 MB / 338.8 MB, free: 1.172 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.698/6.729, allocations: 4.062 kB / 338.8 MB, free: 1.168 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.402916816994548]