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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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: translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001393/0.001393, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001648/0.001648, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.4 MB / 247.4 MB, free: 10.58 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 59.31 kB / 307.6 MB, free: 0.6602 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08888/0.09019, allocations: 50.53 MB / 358.1 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003567/0.09379, allocations: 1.992 MB / 360.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.09505, allocations: 0.7012 MB / 360.8 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.0952, allocations: 0 / 360.8 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.09536, allocations: 23.8 kB / 360.9 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001733/0.09557, allocations: 39.62 kB / 360.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.09586, allocations: 59.78 kB / 361 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002119/0.09609, allocations: 143.3 kB / 361.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.09625, allocations: 45.09 kB / 361.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.09636, allocations: 55.78 kB / 361.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.09648, allocations: 59.7 kB / 361.2 MB, free: 11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.09651, allocations: 8 kB / 361.3 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.09662, allocations: 27.98 kB / 361.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.925e-05/0.09666, allocations: 23.92 kB / 361.3 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.958e-05/0.09675, allocations: 67.66 kB / 361.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.09699, allocations: 143.8 kB / 361.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.09701, allocations: 4 kB / 361.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.09702, allocations: 0 / 361.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.208e-06/0.09703, allocations: 4 kB / 361.5 MB, free: 10.72 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.0007197/0.09776, allocations: 431 kB / 361.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.0978, allocations: 12.03 kB / 362 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002246/0.09803, allocations: 40.7 kB / 362 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.09827, allocations: 204 kB / 362.2 MB, free: 9.965 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.09829, allocations: 8.375 kB / 362.2 MB, free: 9.957 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.392e-05/0.09833, allocations: 8.375 kB / 362.2 MB, free: 9.949 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002807/0.09862, allocations: 122.6 kB / 362.3 MB, free: 9.824 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.09864, allocations: 3.938 kB / 362.3 MB, free: 9.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.09866, allocations: 4 kB / 362.3 MB, free: 9.816 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.09868, allocations: 4 kB / 362.3 MB, free: 9.812 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002763/0.09896, allocations: 99.88 kB / 362.4 MB, free: 9.715 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008724/0.09984, allocations: 483.3 kB / 362.9 MB, free: 9.184 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003403/0.1002, allocations: 122.6 kB / 363 MB, free: 9.055 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/0.1003, allocations: 44.83 kB / 363.1 MB, free: 9.008 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.1004, allocations: 4 kB / 363.1 MB, free: 9.004 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.1004, allocations: 34.5 kB / 363.1 MB, free: 8.961 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.663e-06/0.1004, allocations: 0 / 363.1 MB, free: 8.961 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.001075/0.1015, allocations: 492.8 kB / 363.6 MB, free: 8.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.1015, allocations: 55.41 kB / 363.6 MB, free: 8.363 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.1017, allocations: 132.6 kB / 363.8 MB, free: 8.227 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.1017, allocations: 37.64 kB / 363.8 MB, free: 8.184 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.531e-05/0.1018, allocations: 112.2 kB / 363.9 MB, free: 8.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.928e-05/0.1018, allocations: 47.3 kB / 364 MB, free: 8.023 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.345e-05/0.1019, allocations: 37.61 kB / 364 MB, free: 7.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.102, allocations: 322.8 kB / 364.3 MB, free: 7.656 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.1022, allocations: 43.97 kB / 364.4 MB, free: 7.613 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.1023, allocations: 78.69 kB / 364.4 MB, free: 7.527 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002686/0.1026, allocations: 119.3 kB / 364.6 MB, free: 7.398 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1026, allocations: 0 / 364.6 MB, free: 7.398 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003554/0.103, allocations: 172.8 kB / 364.7 MB, free: 7.227 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.103, allocations: 7.938 kB / 364.7 MB, free: 7.219 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.103, allocations: 11.97 kB / 364.7 MB, free: 7.207 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.103, allocations: 0 / 364.7 MB, free: 7.207 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.1032, allocations: 35.98 kB / 364.8 MB, free: 7.172 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.1032, allocations: 0 / 364.8 MB, free: 7.172 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.1033, allocations: 11.98 kB / 364.8 MB, free: 7.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.1034, allocations: 4 kB / 364.8 MB, free: 7.156 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 9.79e-05/0.1035, allocations: 134.4 kB / 364.9 MB, free: 7.016 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.771e-05/0.1035, allocations: 11.84 kB / 364.9 MB, free: 7.004 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.743e-05/0.1036, allocations: 20.84 kB / 365 MB, free: 6.984 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1036, allocations: 0 / 365 MB, free: 6.984 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1036, allocations: 3.984 kB / 365 MB, free: 6.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1036, allocations: 0 / 365 MB, free: 6.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007307/0.1043, allocations: 480 kB / 365.4 MB, free: 6.449 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.1043, allocations: 4 kB / 365.4 MB, free: 6.445 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001965/0.1045, allocations: 35.92 kB / 365.5 MB, free: 6.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.1046, allocations: 0 / 365.5 MB, free: 6.41 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.1046, allocations: 4 kB / 365.5 MB, free: 6.406 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.1046, allocations: 4 kB / 365.5 MB, free: 6.402 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1046, allocations: 0 / 365.5 MB, free: 6.402 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005102/0.1051, allocations: 305.2 kB / 365.8 MB, free: 6.082 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.379e-05/0.1052, allocations: 92.86 kB / 365.9 MB, free: 5.973 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.1052, allocations: 4 kB / 365.9 MB, free: 5.969 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.1053, allocations: 4 kB / 365.9 MB, free: 5.965 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/0.1054, allocations: 19.98 kB / 365.9 MB, free: 5.945 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.1054, allocations: 0 / 365.9 MB, free: 5.945 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.549e-05/0.1055, allocations: 113.8 kB / 366 MB, free: 5.836 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1055, allocations: 0 / 366 MB, free: 5.836 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003479/0.1058, allocations: 28 kB / 366 MB, free: 5.809 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.0001768/0.106, allocations: 99.19 kB / 366.1 MB, free: 5.699 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003647/0.1064, allocations: 123.9 kB / 366.3 MB, free: 5.578 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.1064, allocations: 0 / 366.3 MB, free: 5.578 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.1066, allocations: 59.84 kB / 366.3 MB, free: 5.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/0.107, allocations: 23.98 kB / 366.3 MB, free: 5.496 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008955/0.1079, allocations: 0.5111 MB / 366.8 MB, free: 4.945 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.1082, allocations: 0.708 MB / 367.6 MB, free: 4.211 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.132e-05/0.1083, allocations: 15.44 kB / 367.6 MB, free: 4.195 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1083, allocations: 0 / 367.6 MB, free: 4.195 MB / 302.1 MB Notification: Performance of Templates: time 0.00345/0.1117, allocations: 1.676 MB / 369.2 MB, free: 2.527 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile (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 & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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