Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001601/0.001601, allocations: 105.5 kB / 18.35 MB, free: 4.75 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.001795/0.001795, allocations: 192 kB / 19.29 MB, free: 3.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.394/1.394, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 51.94 kB / 282.1 MB, free: 2.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09507/0.09628, allocations: 46.63 MB / 328.7 MB, free: 3.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002984/0.0993, allocations: 1.777 MB / 330.5 MB, free: 1.996 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.1003, allocations: 0.6756 MB / 331.2 MB, free: 1.312 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.648e-05/0.1004, allocations: 4 kB / 331.2 MB, free: 1.309 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001123/0.1006, allocations: 15.86 kB / 331.2 MB, free: 1.293 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.972e-05/0.1006, allocations: 43.62 kB / 331.2 MB, free: 1.25 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.1009, allocations: 47.81 kB / 331.3 MB, free: 1.203 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.1011, allocations: 123.4 kB / 331.4 MB, free: 1.082 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.1012, allocations: 37.3 kB / 331.4 MB, free: 1.043 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.774e-05/0.1013, allocations: 39.86 kB / 331.5 MB, free: 1.004 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.1014, allocations: 43.84 kB / 331.5 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.1014, allocations: 12 kB / 331.5 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.723e-05/0.1015, allocations: 27.98 kB / 331.6 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.494e-05/0.1015, allocations: 23.91 kB / 331.6 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.301e-05/0.1016, allocations: 51.73 kB / 331.6 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.1018, allocations: 131.5 kB / 331.8 MB, free: 0.7188 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1018, allocations: 0 / 331.8 MB, free: 0.7188 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1018, allocations: 0 / 331.8 MB, free: 0.7188 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.1018, allocations: 0 / 331.8 MB, free: 0.7188 MB / 270.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.0005766/0.1024, allocations: 411.3 kB / 332.2 MB, free: 276 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.1025, allocations: 11.89 kB / 332.2 MB, free: 264 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002132/0.1027, allocations: 24.83 kB / 332.2 MB, free: 240 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.1029, allocations: 192.2 kB / 332.4 MB, free: 8 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.1029, allocations: 8.562 kB / 332.4 MB, free: 0 / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.292e-05/0.103, allocations: 8.453 kB / 332.4 MB, free: 15.99 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.1032, allocations: 101.5 kB / 332.5 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1032, allocations: 0 / 332.5 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.1032, allocations: 8 kB / 332.5 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.1032, allocations: 4 kB / 332.5 MB, free: 15.87 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.1034, allocations: 59.97 kB / 332.6 MB, free: 15.81 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006852/0.1041, allocations: 455.4 kB / 333 MB, free: 15.31 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002637/0.1043, allocations: 102.6 kB / 333.1 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.428e-05/0.1044, allocations: 28.8 kB / 333.1 MB, free: 15.17 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.1044, allocations: 4 kB / 333.2 MB, free: 15.17 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.1045, allocations: 34.56 kB / 333.2 MB, free: 15.12 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.1045, allocations: 0 / 333.2 MB, free: 15.12 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.001323/0.1058, allocations: 0.5304 MB / 333.7 MB, free: 14.52 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.1058, allocations: 51.41 kB / 333.8 MB, free: 14.46 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.775e-05/0.1059, allocations: 126 kB / 333.9 MB, free: 14.32 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.106, allocations: 29.7 kB / 333.9 MB, free: 14.29 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.367e-05/0.106, allocations: 107.9 kB / 334 MB, free: 14.18 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.566e-05/0.1061, allocations: 43.3 kB / 334.1 MB, free: 14.14 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.938e-05/0.1061, allocations: 29.7 kB / 334.1 MB, free: 14.1 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1063, allocations: 322.8 kB / 334.4 MB, free: 13.78 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.408e-05/0.1063, allocations: 28 kB / 334.4 MB, free: 13.75 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.072e-05/0.1064, allocations: 59.41 kB / 334.5 MB, free: 13.68 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.1065, allocations: 92.25 kB / 334.6 MB, free: 13.58 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1066, allocations: 3.938 kB / 334.6 MB, free: 13.57 MB / 286.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002014/0.1068, allocations: 141.3 kB / 334.7 MB, free: 13.43 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.1068, allocations: 4 kB / 334.7 MB, free: 13.43 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1068, allocations: 4 kB / 334.7 MB, free: 13.42 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.1068, allocations: 8.031 kB / 334.7 MB, free: 13.41 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.107, allocations: 28.05 kB / 334.8 MB, free: 13.39 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.107, allocations: 4 kB / 334.8 MB, free: 13.38 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.316e-05/0.107, allocations: 15.92 kB / 334.8 MB, free: 13.37 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.1071, allocations: 7.938 kB / 334.8 MB, free: 13.36 MB / 286.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.254e-05/0.1072, allocations: 117.8 kB / 334.9 MB, free: 13.23 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.159e-05/0.1072, allocations: 7.906 kB / 334.9 MB, free: 13.23 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.521e-05/0.1072, allocations: 16.38 kB / 334.9 MB, free: 13.21 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1072, allocations: 0 / 334.9 MB, free: 13.21 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.1073, allocations: 0 / 334.9 MB, free: 13.21 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.1073, allocations: 7.938 kB / 334.9 MB, free: 13.2 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005533/0.1078, allocations: 428 kB / 335.4 MB, free: 12.72 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1078, allocations: 0 / 335.4 MB, free: 12.72 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001539/0.108, allocations: 27.98 kB / 335.4 MB, free: 12.7 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.108, allocations: 7.875 kB / 335.4 MB, free: 12.69 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.108, allocations: 8 kB / 335.4 MB, free: 12.68 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.108, allocations: 0 / 335.4 MB, free: 12.68 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1081, allocations: 8 kB / 335.4 MB, free: 12.67 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.1083, allocations: 241.2 kB / 335.6 MB, free: 12.41 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.338e-05/0.1084, allocations: 89.05 kB / 335.7 MB, free: 12.31 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.1084, allocations: 11.94 kB / 335.7 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.507e-05/0.1085, allocations: 0 / 335.7 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.791e-05/0.1085, allocations: 8 kB / 335.8 MB, free: 12.29 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.1086, allocations: 11.98 kB / 335.8 MB, free: 12.28 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.834e-05/0.1086, allocations: 91.72 kB / 335.9 MB, free: 12.19 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1086, allocations: 0 / 335.9 MB, free: 12.19 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002568/0.1089, allocations: 31.98 kB / 335.9 MB, free: 12.16 MB / 286.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.0001091/0.109, allocations: 91.25 kB / 336 MB, free: 12.05 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001746/0.1092, allocations: 83.86 kB / 336.1 MB, free: 11.97 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.1092, allocations: 4.219 kB / 336.1 MB, free: 11.97 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.001e-05/0.1093, allocations: 47.86 kB / 336.1 MB, free: 11.92 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.1096, allocations: 19.27 kB / 336.1 MB, free: 11.91 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006855/0.1103, allocations: 456.4 kB / 336.6 MB, free: 11.43 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.1106, allocations: 0.7041 MB / 337.3 MB, free: 10.7 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.005e-05/0.1107, allocations: 12.86 kB / 337.3 MB, free: 10.68 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.607e-05/0.1107, allocations: 15.44 kB / 337.3 MB, free: 10.67 MB / 286.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1107, allocations: 4 kB / 337.3 MB, free: 10.66 MB / 286.1 MB Notification: Performance of Templates: time 0.003522/0.1142, allocations: 1.087 MB / 338.4 MB, free: 9.578 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches