Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 105.8 kB / 17.59 MB, free: 5.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 187.3 kB / 18.51 MB, free: 4.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 242.2 MB, free: 15.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 51.89 kB / 301.3 MB, free: 5.879 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1018, allocations: 49.44 MB / 350.7 MB, free: 4.43 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003383/0.1052, allocations: 1.775 MB / 352.5 MB, free: 2.637 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.1064, allocations: 0.6427 MB / 353.1 MB, free: 1.988 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.1065, allocations: 0 / 353.1 MB, free: 1.988 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.1067, allocations: 23.8 kB / 353.2 MB, free: 1.965 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.784e-05/0.1068, allocations: 31.7 kB / 353.2 MB, free: 1.934 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.1071, allocations: 47.8 kB / 353.2 MB, free: 1.887 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00018/0.1072, allocations: 127.4 kB / 353.4 MB, free: 1.762 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.1074, allocations: 33.39 kB / 353.4 MB, free: 1.723 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.149e-05/0.1075, allocations: 39.86 kB / 353.4 MB, free: 1.684 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.1076, allocations: 47.83 kB / 353.5 MB, free: 1.637 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.1076, allocations: 11.94 kB / 353.5 MB, free: 1.625 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.1077, allocations: 27.98 kB / 353.5 MB, free: 1.598 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.421e-05/0.1078, allocations: 19.92 kB / 353.5 MB, free: 1.578 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.874e-05/0.1078, allocations: 47.75 kB / 353.6 MB, free: 1.531 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.108, allocations: 123.9 kB / 353.7 MB, free: 1.41 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.108, allocations: 7.984 kB / 353.7 MB, free: 1.402 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.108, allocations: 0 / 353.7 MB, free: 1.402 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.1081, allocations: 0 / 353.7 MB, free: 1.402 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005829/0.1086, allocations: 415.2 kB / 354.1 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.1087, allocations: 11.89 kB / 354.1 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002246/0.1089, allocations: 24.83 kB / 354.2 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.1092, allocations: 196.1 kB / 354.3 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/0.1092, allocations: 12.56 kB / 354.4 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.088e-05/0.1093, allocations: 16.28 kB / 354.4 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.1095, allocations: 93.58 kB / 354.5 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.1096, allocations: 8 kB / 354.5 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.1096, allocations: 0 / 354.5 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.1096, allocations: 0 / 354.5 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/0.1097, allocations: 70.77 kB / 354.5 MB, free: 496 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008026/0.1106, allocations: 451.5 kB / 355 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003112/0.1109, allocations: 106.5 kB / 355.1 MB, free: 15.87 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.168e-05/0.111, allocations: 32.84 kB / 355.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.111, allocations: 4 kB / 355.1 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.111, allocations: 34.56 kB / 355.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/0.111, allocations: 0 / 355.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001403/0.1124, allocations: 0.5266 MB / 355.7 MB, free: 15.19 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.1125, allocations: 55.39 kB / 355.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.1126, allocations: 127.7 kB / 355.9 MB, free: 14.99 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.1126, allocations: 25.7 kB / 355.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.515e-05/0.1127, allocations: 107.8 kB / 356 MB, free: 14.85 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.166e-05/0.1127, allocations: 43.36 kB / 356 MB, free: 14.8 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-05/0.1128, allocations: 29.72 kB / 356.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.1129, allocations: 326.8 kB / 356.4 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.758e-05/0.113, allocations: 27.98 kB / 356.4 MB, free: 14.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.709e-05/0.1131, allocations: 63.27 kB / 356.5 MB, free: 14.34 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.1132, allocations: 91.36 kB / 356.6 MB, free: 14.24 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1132, allocations: 4 kB / 356.6 MB, free: 14.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002053/0.1134, allocations: 130.3 kB / 356.7 MB, free: 14.1 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.1135, allocations: 8 kB / 356.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1135, allocations: 0 / 356.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.1135, allocations: 4 kB / 356.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.1136, allocations: 35.92 kB / 356.7 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1136, allocations: 0 / 356.7 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.015e-05/0.1137, allocations: 7.938 kB / 356.8 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.1137, allocations: 4 kB / 356.8 MB, free: 14.04 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 (17): * Single equations (assignments): 17 * 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.142e-05/0.1138, allocations: 121.9 kB / 356.9 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.633e-05/0.1139, allocations: 7.906 kB / 356.9 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.801e-05/0.1139, allocations: 20.36 kB / 356.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.1139, allocations: 4.031 kB / 356.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1139, allocations: 0 / 356.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.114, allocations: 3.938 kB / 356.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005412/0.1145, allocations: 428.1 kB / 357.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.1145, allocations: 0 / 357.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.1147, allocations: 35.92 kB / 357.4 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/0.1147, allocations: 7.875 kB / 357.4 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.1147, allocations: 8.094 kB / 357.4 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.1147, allocations: 3.938 kB / 357.4 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1147, allocations: 0 / 357.4 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003115/0.1151, allocations: 249.2 kB / 357.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.882e-05/0.1151, allocations: 85.02 kB / 357.7 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.1151, allocations: 11.94 kB / 357.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.158e-05/0.1152, allocations: 0 / 357.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.887e-05/0.1153, allocations: 15.97 kB / 357.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.1153, allocations: 4 kB / 357.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.302e-05/0.1153, allocations: 94.64 kB / 357.8 MB, free: 12.85 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1153, allocations: 4 kB / 357.8 MB, free: 12.85 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002747/0.1156, allocations: 28 kB / 357.9 MB, free: 12.82 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 (12): * Single equations (assignments): 12 * 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.0001177/0.1158, allocations: 99.19 kB / 358 MB, free: 12.71 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002059/0.116, allocations: 95.78 kB / 358.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.116, allocations: 0 / 358.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.94e-05/0.116, allocations: 39.92 kB / 358.1 MB, free: 12.58 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.1164, allocations: 20.23 kB / 358.1 MB, free: 12.56 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000852/0.1173, allocations: 482.1 kB / 358.6 MB, free: 12.05 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.1176, allocations: 0.7002 MB / 359.3 MB, free: 11.33 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.467e-05/0.1176, allocations: 19.38 kB / 359.3 MB, free: 11.31 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1177, allocations: 0 / 359.3 MB, free: 11.31 MB / 302.1 MB Notification: Performance of Templates: time 0.003129/0.1208, allocations: 1.413 MB / 360.7 MB, free: 9.902 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches