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.0008902/0.0008902, allocations: 93.22 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001766/0.001766, allocations: 197.9 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 227.7 MB / 246.8 MB, free: 11.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002305/0.0002305, allocations: 8 kB / 307.7 MB, free: 0.8086 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1034, allocations: 51.52 MB / 359.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002101/0.1056, allocations: 1.706 MB / 361 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.1067, allocations: 0.678 MB / 361.6 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.1068, allocations: 7.938 kB / 361.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.476e-05/0.1069, allocations: 7.922 kB / 361.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.182e-05/0.107, allocations: 31.7 kB / 361.7 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.1073, allocations: 59.88 kB / 361.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.1075, allocations: 135.3 kB / 361.9 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.1076, allocations: 33.08 kB / 361.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.337e-05/0.1077, allocations: 51.73 kB / 362 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.728e-05/0.1078, allocations: 47.78 kB / 362 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.1078, allocations: 4 kB / 362 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.956e-05/0.1079, allocations: 27.92 kB / 362 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.531e-05/0.1079, allocations: 23.91 kB / 362.1 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.477e-05/0.108, allocations: 77.44 kB / 362.1 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.1082, allocations: 143.8 kB / 362.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.1082, allocations: 4 kB / 362.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1082, allocations: 7.938 kB / 362.3 MB, free: 10.24 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.1082, allocations: 0 / 362.3 MB, free: 10.24 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.0005889/0.1088, allocations: 423 kB / 362.7 MB, free: 9.777 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.1089, allocations: 12.02 kB / 362.7 MB, free: 9.766 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001834/0.109, allocations: 24.83 kB / 362.7 MB, free: 9.742 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.1092, allocations: 204.1 kB / 362.9 MB, free: 9.504 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.1093, allocations: 12.38 kB / 363 MB, free: 9.492 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.322e-05/0.1093, allocations: 16.31 kB / 363 MB, free: 9.477 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002877/0.1096, allocations: 122.7 kB / 363.1 MB, free: 9.352 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.1096, allocations: 4 kB / 363.1 MB, free: 9.348 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.1097, allocations: 4 kB / 363.1 MB, free: 9.344 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1097, allocations: 4 kB / 363.1 MB, free: 9.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002911/0.11, allocations: 107.9 kB / 363.2 MB, free: 9.234 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008152/0.1108, allocations: 499.2 kB / 363.7 MB, free: 8.688 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000403/0.1112, allocations: 126.5 kB / 363.8 MB, free: 8.555 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.1114, allocations: 52.88 kB / 363.9 MB, free: 8.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.1114, allocations: 4 kB / 363.9 MB, free: 8.496 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.1114, allocations: 38.56 kB / 363.9 MB, free: 8.449 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.512e-06/0.1114, allocations: 0 / 363.9 MB, free: 8.449 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.001107/0.1125, allocations: 0.5013 MB / 364.4 MB, free: 7.898 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.1126, allocations: 59.34 kB / 364.5 MB, free: 7.828 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.1127, allocations: 133.1 kB / 364.6 MB, free: 7.688 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.1127, allocations: 29.7 kB / 364.6 MB, free: 7.652 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.283e-05/0.1128, allocations: 116.1 kB / 364.7 MB, free: 7.535 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.018e-05/0.1128, allocations: 47.3 kB / 364.8 MB, free: 7.488 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.171e-05/0.1129, allocations: 21.7 kB / 364.8 MB, free: 7.461 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.113, allocations: 322.8 kB / 365.1 MB, free: 7.137 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.1132, allocations: 47.97 kB / 365.2 MB, free: 7.09 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.1133, allocations: 85.91 kB / 365.3 MB, free: 6.996 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002916/0.1136, allocations: 131.3 kB / 365.4 MB, free: 6.855 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1136, allocations: 4 kB / 365.4 MB, free: 6.852 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003805/0.114, allocations: 173.5 kB / 365.6 MB, free: 6.676 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.1141, allocations: 11.94 kB / 365.6 MB, free: 6.664 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.1141, allocations: 3.984 kB / 365.6 MB, free: 6.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.1141, allocations: 8.031 kB / 365.6 MB, free: 6.652 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.1143, allocations: 35.98 kB / 365.6 MB, free: 6.617 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.1143, allocations: 0 / 365.6 MB, free: 6.617 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.1144, allocations: 23.92 kB / 365.6 MB, free: 6.594 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.1144, allocations: 4 kB / 365.6 MB, free: 6.59 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.0001008/0.1145, allocations: 126.4 kB / 365.8 MB, free: 6.457 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.568e-05/0.1146, allocations: 15.75 kB / 365.8 MB, free: 6.441 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.246e-05/0.1146, allocations: 24.83 kB / 365.8 MB, free: 6.418 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.1147, allocations: 0 / 365.8 MB, free: 6.418 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1147, allocations: 0 / 365.8 MB, free: 6.418 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.1147, allocations: 4 kB / 365.8 MB, free: 6.414 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007298/0.1154, allocations: 483.9 kB / 366.3 MB, free: 5.879 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1154, allocations: 4 kB / 366.3 MB, free: 5.875 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002053/0.1156, allocations: 31.98 kB / 366.3 MB, free: 5.844 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.1157, allocations: 4.062 kB / 366.3 MB, free: 5.84 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.1157, allocations: 8 kB / 366.3 MB, free: 5.832 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1157, allocations: 0 / 366.3 MB, free: 5.832 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.1157, allocations: 3.984 kB / 366.3 MB, free: 5.828 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005343/0.1162, allocations: 324.8 kB / 366.6 MB, free: 5.488 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.049e-05/0.1163, allocations: 85.02 kB / 366.7 MB, free: 5.387 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.1163, allocations: 4 kB / 366.7 MB, free: 5.383 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.1165, allocations: 20.03 kB / 366.8 MB, free: 5.363 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.439e-05/0.1165, allocations: 11.98 kB / 366.8 MB, free: 5.352 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.577e-06/0.1165, allocations: 4 kB / 366.8 MB, free: 5.348 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.187e-05/0.1166, allocations: 103.3 kB / 366.9 MB, free: 5.246 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1166, allocations: 0 / 366.9 MB, free: 5.246 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.1169, allocations: 28 kB / 366.9 MB, free: 5.219 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.000116/0.117, allocations: 99.19 kB / 367 MB, free: 5.109 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00035/0.1174, allocations: 139.2 kB / 367.1 MB, free: 4.977 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1174, allocations: 0 / 367.1 MB, free: 4.977 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001651/0.1175, allocations: 68.16 kB / 367.2 MB, free: 4.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.1179, allocations: 22.73 kB / 367.2 MB, free: 4.891 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008708/0.1188, allocations: 0.5988 MB / 367.8 MB, free: 4.258 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.1191, allocations: 0.7043 MB / 368.5 MB, free: 3.527 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.483e-05/0.1192, allocations: 16.64 kB / 368.5 MB, free: 3.512 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.904e-05/0.1192, allocations: 11.44 kB / 368.6 MB, free: 3.5 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1193, allocations: 0 / 368.6 MB, free: 3.5 MB / 302.1 MB Notification: Performance of Templates: time 0.003732/0.123, allocations: 1.267 MB / 369.8 MB, free: 2.25 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/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_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.T,eddyCurrentForce.TRef,eddyCurrentForce.alpha20,eddyCurrentForce.constantExcitation,eddyCurrentForce.f_nominal,eddyCurrentForce.lossPower,eddyCurrentForce.useExcitationInput,eddyCurrentForce.v_nominal,heatCapacitor.C,heatCapacitor.T,mass.L,mass.m,mass.s,mass.stateSelect,ramp.duration,ramp.height,ramp.offset,ramp.startTime,time