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.001297/0.001297, allocations: 107.8 kB / 17.06 MB, free: 6.137 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.001326/0.001326, allocations: 188 kB / 18 MB, free: 5.219 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.376/1.376, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009945/0.0009945, allocations: 51.92 kB / 351.3 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2862, allocations: 49.43 MB / 400.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003226/0.2894, allocations: 1.788 MB / 402.5 MB, free: 7.078 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.2906, allocations: 0.631 MB / 403.1 MB, free: 6.441 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.2907, allocations: 0 / 403.1 MB, free: 6.441 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.2909, allocations: 31.72 kB / 403.2 MB, free: 6.41 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.669e-05/0.291, allocations: 31.7 kB / 403.2 MB, free: 6.379 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002656/0.2913, allocations: 55.8 kB / 403.2 MB, free: 6.324 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.2915, allocations: 119.4 kB / 403.4 MB, free: 6.207 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.2916, allocations: 33.39 kB / 403.4 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.409e-05/0.2917, allocations: 39.92 kB / 403.4 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.692e-05/0.2918, allocations: 51.7 kB / 403.5 MB, free: 6.082 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.189e-05/0.2918, allocations: 8 kB / 403.5 MB, free: 6.074 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.894e-05/0.2919, allocations: 27.98 kB / 403.5 MB, free: 6.047 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.54e-05/0.292, allocations: 19.92 kB / 403.5 MB, free: 6.027 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.714e-05/0.292, allocations: 51.73 kB / 403.6 MB, free: 5.977 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.2923, allocations: 132.7 kB / 403.7 MB, free: 5.852 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2923, allocations: 0 / 403.7 MB, free: 5.852 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2923, allocations: 0 / 403.7 MB, free: 5.852 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.2923, allocations: 4 kB / 403.7 MB, free: 5.848 MB / 318.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.0005739/0.2929, allocations: 411.3 kB / 404.1 MB, free: 5.398 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.2929, allocations: 15.88 kB / 404.1 MB, free: 5.383 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001972/0.2931, allocations: 24.83 kB / 404.2 MB, free: 5.359 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.2933, allocations: 192.1 kB / 404.3 MB, free: 5.133 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.2934, allocations: 8.562 kB / 404.4 MB, free: 5.125 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.367e-05/0.2934, allocations: 16.38 kB / 404.4 MB, free: 5.109 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.2936, allocations: 91.28 kB / 404.5 MB, free: 5.016 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.2936, allocations: 7.984 kB / 404.5 MB, free: 5.008 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.2936, allocations: 4 kB / 404.5 MB, free: 5.004 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.2936, allocations: 4 kB / 404.5 MB, free: 5 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.2938, allocations: 55.97 kB / 404.5 MB, free: 4.945 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006901/0.2945, allocations: 451.5 kB / 405 MB, free: 4.449 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002628/0.2948, allocations: 106.5 kB / 405.1 MB, free: 4.336 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.471e-05/0.2948, allocations: 36.78 kB / 405.1 MB, free: 4.297 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.2948, allocations: 0 / 405.1 MB, free: 4.297 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.2949, allocations: 34.56 kB / 405.1 MB, free: 4.254 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 8.92e-07/0.2949, allocations: 3.938 kB / 405.1 MB, free: 4.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001287/0.2962, allocations: 0.5265 MB / 405.7 MB, free: 3.652 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.2962, allocations: 55.41 kB / 405.7 MB, free: 3.586 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.2963, allocations: 128.1 kB / 405.9 MB, free: 3.449 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.2963, allocations: 29.7 kB / 405.9 MB, free: 3.414 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.937e-05/0.2964, allocations: 103.9 kB / 406 MB, free: 3.309 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.626e-05/0.2965, allocations: 47.36 kB / 406 MB, free: 3.262 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.118e-05/0.2965, allocations: 25.72 kB / 406.1 MB, free: 3.23 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.2966, allocations: 322.8 kB / 406.4 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.519e-05/0.2967, allocations: 27.98 kB / 406.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.316e-05/0.2968, allocations: 66.02 kB / 406.5 MB, free: 2.805 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.2969, allocations: 95.36 kB / 406.6 MB, free: 2.699 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.2969, allocations: 0 / 406.6 MB, free: 2.699 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002026/0.2971, allocations: 130.3 kB / 406.7 MB, free: 2.566 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.2972, allocations: 12.06 kB / 406.7 MB, free: 2.555 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2972, allocations: 0 / 406.7 MB, free: 2.555 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.2972, allocations: 0 / 406.7 MB, free: 2.555 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.2973, allocations: 35.92 kB / 406.7 MB, free: 2.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.2973, allocations: 0 / 406.7 MB, free: 2.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.049e-05/0.2974, allocations: 11.94 kB / 406.7 MB, free: 2.508 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.2974, allocations: 4 kB / 406.7 MB, free: 2.504 MB / 318.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 8.499e-05/0.2975, allocations: 117.8 kB / 406.9 MB, free: 2.379 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.097e-05/0.2976, allocations: 7.906 kB / 406.9 MB, free: 2.371 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.219e-05/0.2976, allocations: 16.38 kB / 406.9 MB, free: 2.355 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.2976, allocations: 4 kB / 406.9 MB, free: 2.352 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.2976, allocations: 0 / 406.9 MB, free: 2.352 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.2976, allocations: 7.922 kB / 406.9 MB, free: 2.344 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005355/0.2982, allocations: 428 kB / 407.3 MB, free: 1.863 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2982, allocations: 0 / 407.3 MB, free: 1.863 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.2984, allocations: 35.98 kB / 407.3 MB, free: 1.828 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.2984, allocations: 3.938 kB / 407.4 MB, free: 1.824 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.2984, allocations: 8.047 kB / 407.4 MB, free: 1.816 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.2984, allocations: 0 / 407.4 MB, free: 1.816 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.2984, allocations: 7.922 kB / 407.4 MB, free: 1.809 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002799/0.2987, allocations: 241.2 kB / 407.6 MB, free: 1.551 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.285e-05/0.2988, allocations: 92.95 kB / 407.7 MB, free: 1.441 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.2988, allocations: 3.938 kB / 407.7 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.874e-05/0.2989, allocations: 11.94 kB / 407.7 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.733e-05/0.2989, allocations: 8.031 kB / 407.7 MB, free: 1.418 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.2989, allocations: 0 / 407.7 MB, free: 1.418 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.31e-05/0.299, allocations: 101.5 kB / 407.8 MB, free: 1.32 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.299, allocations: 0 / 407.8 MB, free: 1.32 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002552/0.2992, allocations: 20 kB / 407.8 MB, free: 1.301 MB / 318.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.0001129/0.2994, allocations: 115.1 kB / 407.9 MB, free: 1.18 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001951/0.2996, allocations: 95.94 kB / 408 MB, free: 1.086 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2996, allocations: 0 / 408 MB, free: 1.086 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.221e-05/0.2996, allocations: 39.92 kB / 408.1 MB, free: 1.047 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.3, allocations: 19.98 kB / 408.1 MB, free: 1.027 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007663/0.3008, allocations: 464.5 kB / 408.6 MB, free: 0.543 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.3011, allocations: 0.7002 MB / 409.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.127e-05/0.3011, allocations: 16.88 kB / 409.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.598e-05/0.3012, allocations: 11.44 kB / 409.3 MB, free: 15.79 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3012, allocations: 0 / 409.3 MB, free: 15.79 MB / 334.1 MB Notification: Performance of Templates: time 0.003761/0.3049, allocations: 1.132 MB / 410.4 MB, free: 14.67 MB / 334.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/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_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches