Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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: translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001727/0.001727, allocations: 109.8 kB / 18.3 MB, free: 4.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00207/0.00207, allocations: 207.8 kB / 19.25 MB, free: 3.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.509/1.509, allocations: 227.7 MB / 247.7 MB, free: 10.43 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002148/0.002148, allocations: 65.39 kB / 307.9 MB, free: 0.5195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1115, allocations: 50.53 MB / 358.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003694/0.1153, allocations: 1.996 MB / 360.4 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.1166, allocations: 0.7012 MB / 361.1 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.958e-05/0.1167, allocations: 4 kB / 361.1 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001345/0.1168, allocations: 15.8 kB / 361.1 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.608e-05/0.1169, allocations: 39.64 kB / 361.2 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002747/0.1172, allocations: 63.8 kB / 361.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002212/0.1174, allocations: 143.3 kB / 361.4 MB, free: 11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.1176, allocations: 45.02 kB / 361.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.1177, allocations: 55.78 kB / 361.5 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.1178, allocations: 63.7 kB / 361.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.1178, allocations: 8 kB / 361.5 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.638e-05/0.1179, allocations: 31.98 kB / 361.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.109e-05/0.118, allocations: 19.92 kB / 361.6 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.566e-05/0.1181, allocations: 59.73 kB / 361.7 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002423/0.1183, allocations: 151.6 kB / 361.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1183, allocations: 0 / 361.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.1183, allocations: 0 / 361.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1183, allocations: 0 / 361.8 MB, free: 10.57 MB / 302.1 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.0007499/0.1191, allocations: 443 kB / 362.2 MB, free: 10.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.1191, allocations: 8.031 kB / 362.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001964/0.1193, allocations: 32.73 kB / 362.3 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.1196, allocations: 204 kB / 362.5 MB, free: 9.812 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.1196, allocations: 4.375 kB / 362.5 MB, free: 9.809 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/0.1197, allocations: 12.38 kB / 362.5 MB, free: 9.797 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003196/0.12, allocations: 117.6 kB / 362.6 MB, free: 9.676 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.12, allocations: 4 kB / 362.6 MB, free: 9.672 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.12, allocations: 11.94 kB / 362.6 MB, free: 9.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.12, allocations: 0 / 362.6 MB, free: 9.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000283/0.1203, allocations: 99.8 kB / 362.7 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008878/0.1212, allocations: 491.3 kB / 363.2 MB, free: 9.023 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003542/0.1216, allocations: 118.6 kB / 363.3 MB, free: 8.898 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.1217, allocations: 48.88 kB / 363.4 MB, free: 8.848 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.1218, allocations: 0 / 363.4 MB, free: 8.848 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.1218, allocations: 42.55 kB / 363.4 MB, free: 8.797 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.1218, allocations: 0 / 363.4 MB, free: 8.797 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.001122/0.1229, allocations: 493 kB / 363.9 MB, free: 8.266 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.123, allocations: 55.41 kB / 363.9 MB, free: 8.199 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.1232, allocations: 134.2 kB / 364.1 MB, free: 8.059 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.1232, allocations: 25.7 kB / 364.1 MB, free: 8.027 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.778e-05/0.1233, allocations: 116.2 kB / 364.2 MB, free: 7.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.419e-05/0.1234, allocations: 43.3 kB / 364.3 MB, free: 7.867 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.468e-05/0.1234, allocations: 37.62 kB / 364.3 MB, free: 7.824 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.1236, allocations: 318.8 kB / 364.6 MB, free: 7.504 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.1237, allocations: 43.97 kB / 364.6 MB, free: 7.461 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.1239, allocations: 77.42 kB / 364.7 MB, free: 7.375 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002842/0.1242, allocations: 127.3 kB / 364.8 MB, free: 7.238 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1242, allocations: 4 kB / 364.8 MB, free: 7.234 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003797/0.1246, allocations: 161.5 kB / 365 MB, free: 7.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.1246, allocations: 7.938 kB / 365 MB, free: 7.062 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1246, allocations: 0 / 365 MB, free: 7.062 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.1247, allocations: 4 kB / 365 MB, free: 7.059 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.1249, allocations: 39.91 kB / 365.1 MB, free: 7.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.1249, allocations: 4 kB / 365.1 MB, free: 7.016 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.719e-05/0.125, allocations: 12.06 kB / 365.1 MB, free: 7.004 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.125, allocations: 4 kB / 365.1 MB, free: 7 MB / 302.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 (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 0.0001235/0.1251, allocations: 125.8 kB / 365.2 MB, free: 6.867 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.848e-05/0.1252, allocations: 15.84 kB / 365.2 MB, free: 6.852 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.127e-05/0.1252, allocations: 12.84 kB / 365.2 MB, free: 6.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.1252, allocations: 4 kB / 365.2 MB, free: 6.836 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.1252, allocations: 0 / 365.2 MB, free: 6.836 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/0.1253, allocations: 0 / 365.2 MB, free: 6.836 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007712/0.126, allocations: 483.8 kB / 365.7 MB, free: 6.301 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1261, allocations: 0 / 365.7 MB, free: 6.301 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001988/0.1263, allocations: 39.97 kB / 365.7 MB, free: 6.262 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.1263, allocations: 7.938 kB / 365.7 MB, free: 6.254 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.1263, allocations: 0 / 365.7 MB, free: 6.254 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1263, allocations: 4.062 kB / 365.8 MB, free: 6.25 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.1263, allocations: 4 kB / 365.8 MB, free: 6.246 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000537/0.1269, allocations: 300.2 kB / 366 MB, free: 5.934 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.466e-05/0.1269, allocations: 84.92 kB / 366.1 MB, free: 5.832 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.127, allocations: 8 kB / 366.1 MB, free: 5.824 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.1271, allocations: 12.03 kB / 366.2 MB, free: 5.812 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.315e-05/0.1271, allocations: 11.92 kB / 366.2 MB, free: 5.801 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.1272, allocations: 4 kB / 366.2 MB, free: 5.797 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.31e-05/0.1273, allocations: 105.5 kB / 366.3 MB, free: 5.695 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1273, allocations: 3.938 kB / 366.3 MB, free: 5.691 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.1275, allocations: 28 kB / 366.3 MB, free: 5.664 MB / 302.1 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.000154/0.1277, allocations: 111.2 kB / 366.4 MB, free: 5.543 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000353/0.1281, allocations: 120.7 kB / 366.5 MB, free: 5.426 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1281, allocations: 0 / 366.5 MB, free: 5.426 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.1282, allocations: 55.91 kB / 366.6 MB, free: 5.371 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.1286, allocations: 24.47 kB / 366.6 MB, free: 5.348 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009694/0.1296, allocations: 0.5149 MB / 367.1 MB, free: 4.793 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.13, allocations: 0.708 MB / 367.8 MB, free: 4.059 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.267e-05/0.1301, allocations: 15.44 kB / 367.8 MB, free: 4.043 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1301, allocations: 0 / 367.8 MB, free: 4.043 MB / 302.1 MB Notification: Performance of Templates: time 0.00369/0.1338, allocations: 1.676 MB / 369.5 MB, free: 2.379 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,mass.s,heatCapacitor.T,eddyCurrentForce.lossPower Variables in the result:eddyCurrentForce.lossPower,heatCapacitor.T,mass.s,time