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.001412/0.001412, allocations: 109.5 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001613/0.001613, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 227.4 MB / 246.9 MB, free: 8.895 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 59.72 kB / 306.9 MB, free: 0.7773 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09675/0.09807, allocations: 50.53 MB / 357.4 MB, free: 14.24 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003569/0.1017, allocations: 2.057 MB / 359.5 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.1029, allocations: 0.6935 MB / 360.2 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.1031, allocations: 4 kB / 360.2 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001325/0.1033, allocations: 11.86 kB / 360.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.1034, allocations: 43.69 kB / 360.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.1037, allocations: 51.88 kB / 360.3 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002084/0.1039, allocations: 139.3 kB / 360.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.104, allocations: 37.08 kB / 360.5 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.1042, allocations: 43.8 kB / 360.5 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.1043, allocations: 63.69 kB / 360.6 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.1043, allocations: 8 kB / 360.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.1044, allocations: 27.98 kB / 360.6 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.724e-05/0.1044, allocations: 19.92 kB / 360.6 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.483e-05/0.1045, allocations: 55.67 kB / 360.7 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.1047, allocations: 112 kB / 360.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1047, allocations: 0 / 360.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.1047, allocations: 0 / 360.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.1047, allocations: 0 / 360.8 MB, free: 10.86 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.0007063/0.1054, allocations: 446.9 kB / 361.2 MB, free: 10.38 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.1055, allocations: 8.031 kB / 361.2 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001996/0.1057, allocations: 28.73 kB / 361.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.1059, allocations: 200.1 kB / 361.4 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.1059, allocations: 8.375 kB / 361.5 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.455e-05/0.1059, allocations: 12.38 kB / 361.5 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002928/0.1062, allocations: 118.6 kB / 361.6 MB, free: 9.969 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.1063, allocations: 4 kB / 361.6 MB, free: 9.965 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.1063, allocations: 4 kB / 361.6 MB, free: 9.961 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1063, allocations: 4 kB / 361.6 MB, free: 9.957 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002785/0.1066, allocations: 91.92 kB / 361.7 MB, free: 9.867 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00082/0.1074, allocations: 495.3 kB / 362.2 MB, free: 9.324 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003503/0.1078, allocations: 122.5 kB / 362.3 MB, free: 9.195 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.1079, allocations: 48.78 kB / 362.3 MB, free: 9.145 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.108, allocations: 7.984 kB / 362.3 MB, free: 9.137 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.108, allocations: 34.77 kB / 362.4 MB, free: 9.094 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.108, allocations: 3.938 kB / 362.4 MB, free: 9.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.001031/0.109, allocations: 477.7 kB / 362.8 MB, free: 8.57 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.1091, allocations: 59.41 kB / 362.9 MB, free: 8.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.1092, allocations: 137.1 kB / 363 MB, free: 8.359 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.1092, allocations: 29.7 kB / 363.1 MB, free: 8.324 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.715e-05/0.1093, allocations: 108.2 kB / 363.2 MB, free: 8.215 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.105e-05/0.1094, allocations: 55.28 kB / 363.2 MB, free: 8.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.803e-05/0.1094, allocations: 33.61 kB / 363.3 MB, free: 8.121 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.1095, allocations: 322.8 kB / 363.6 MB, free: 7.797 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.1097, allocations: 47.97 kB / 363.6 MB, free: 7.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.1098, allocations: 71.42 kB / 363.7 MB, free: 7.668 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002707/0.1101, allocations: 130.6 kB / 363.8 MB, free: 7.531 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1101, allocations: 0 / 363.8 MB, free: 7.531 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003384/0.1104, allocations: 165.4 kB / 364 MB, free: 7.363 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.1105, allocations: 14.75 kB / 364 MB, free: 7.352 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1105, allocations: 0 / 364 MB, free: 7.352 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.1105, allocations: 0 / 364 MB, free: 7.352 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/0.1107, allocations: 39.97 kB / 364 MB, free: 7.312 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.1107, allocations: 0 / 364 MB, free: 7.312 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.1108, allocations: 20.05 kB / 364.1 MB, free: 7.293 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.1109, allocations: 4 kB / 364.1 MB, free: 7.289 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.389e-05/0.111, allocations: 126.4 kB / 364.2 MB, free: 7.156 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.825e-05/0.111, allocations: 19.75 kB / 364.2 MB, free: 7.137 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.731e-05/0.1111, allocations: 16.84 kB / 364.2 MB, free: 7.121 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1111, allocations: 4 kB / 364.2 MB, free: 7.117 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1111, allocations: 0 / 364.2 MB, free: 7.117 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1111, allocations: 3.984 kB / 364.2 MB, free: 7.113 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006904/0.1118, allocations: 468 kB / 364.7 MB, free: 6.594 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.1118, allocations: 3.984 kB / 364.7 MB, free: 6.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/0.112, allocations: 35.92 kB / 364.7 MB, free: 6.555 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.112, allocations: 0 / 364.7 MB, free: 6.555 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.112, allocations: 12.06 kB / 364.7 MB, free: 6.543 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.112, allocations: 0 / 364.7 MB, free: 6.543 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1121, allocations: 0 / 364.7 MB, free: 6.543 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004983/0.1126, allocations: 308.9 kB / 365 MB, free: 6.219 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.965e-05/0.1126, allocations: 93.05 kB / 365.1 MB, free: 6.109 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.1127, allocations: 8 kB / 365.1 MB, free: 6.102 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.1128, allocations: 4 kB / 365.1 MB, free: 6.098 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/0.1128, allocations: 11.92 kB / 365.1 MB, free: 6.086 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.1129, allocations: 8 kB / 365.2 MB, free: 6.078 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.348e-05/0.1129, allocations: 103.2 kB / 365.3 MB, free: 5.977 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1129, allocations: 0 / 365.3 MB, free: 5.977 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002749/0.1132, allocations: 28 kB / 365.3 MB, free: 5.949 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.0001237/0.1133, allocations: 107.2 kB / 365.4 MB, free: 5.832 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000321/0.1137, allocations: 115.8 kB / 365.5 MB, free: 5.719 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1137, allocations: 0 / 365.5 MB, free: 5.719 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.1138, allocations: 64.72 kB / 365.6 MB, free: 5.656 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.1142, allocations: 24.45 kB / 365.6 MB, free: 5.633 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008506/0.1151, allocations: 0.5438 MB / 366.1 MB, free: 5.047 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.1153, allocations: 0.7043 MB / 366.8 MB, free: 4.316 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.346e-05/0.1154, allocations: 15.44 kB / 366.9 MB, free: 4.301 MB / 302.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1154, allocations: 0 / 366.9 MB, free: 4.301 MB / 302.1 MB Notification: Performance of Templates: time 0.003659/0.1191, allocations: 1.678 MB / 368.5 MB, free: 2.633 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