Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.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.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.001199, allocations: 115.7 kB / 17.74 MB, free: 5.297 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.001235/0.001236, allocations: 189.6 kB / 18.67 MB, free: 4.375 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.38/1.38, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001687, allocations: 47.92 kB / 352 MB, free: 3.281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3183, allocations: 49.44 MB / 401.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003185/0.3215, allocations: 1.76 MB / 403.2 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.3226, allocations: 0.6388 MB / 403.8 MB, free: 6.492 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.636e-05/0.3227, allocations: 7.938 kB / 403.8 MB, free: 6.484 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001395/0.3229, allocations: 11.86 kB / 403.8 MB, free: 6.473 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.056e-05/0.323, allocations: 35.7 kB / 403.8 MB, free: 6.438 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.3233, allocations: 47.81 kB / 403.9 MB, free: 6.391 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001818/0.3235, allocations: 119.4 kB / 404 MB, free: 6.273 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.3236, allocations: 35.95 kB / 404 MB, free: 6.238 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.732e-05/0.3237, allocations: 43.8 kB / 404.1 MB, free: 6.195 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.3238, allocations: 47.78 kB / 404.1 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.3238, allocations: 8 kB / 404.1 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.05e-05/0.3239, allocations: 23.98 kB / 404.2 MB, free: 6.117 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.416e-05/0.324, allocations: 19.92 kB / 404.2 MB, free: 6.098 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.698e-05/0.324, allocations: 55.73 kB / 404.2 MB, free: 6.043 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002423/0.3243, allocations: 128.7 kB / 404.4 MB, free: 5.922 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3243, allocations: 0 / 404.4 MB, free: 5.922 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3243, allocations: 0 / 404.4 MB, free: 5.922 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.3243, allocations: 0 / 404.4 MB, free: 5.922 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.0006024/0.3249, allocations: 407.3 kB / 404.8 MB, free: 5.477 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.325, allocations: 15.89 kB / 404.8 MB, free: 5.461 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002098/0.3252, allocations: 28.75 kB / 404.8 MB, free: 5.434 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.3254, allocations: 196.2 kB / 405 MB, free: 5.203 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.3255, allocations: 8.562 kB / 405 MB, free: 5.195 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.221e-05/0.3255, allocations: 8.359 kB / 405 MB, free: 5.188 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.3257, allocations: 98.91 kB / 405.1 MB, free: 5.086 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.3257, allocations: 0 / 405.1 MB, free: 5.086 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.3258, allocations: 7.984 kB / 405.1 MB, free: 5.078 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.3258, allocations: 4 kB / 405.1 MB, free: 5.074 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.3259, allocations: 55.91 kB / 405.2 MB, free: 5.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007754/0.3267, allocations: 493.1 kB / 405.7 MB, free: 4.477 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.327, allocations: 78.59 kB / 405.7 MB, free: 4.391 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.761e-05/0.327, allocations: 28.89 kB / 405.8 MB, free: 4.359 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.327, allocations: 0 / 405.8 MB, free: 4.359 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.3271, allocations: 38.56 kB / 405.8 MB, free: 4.312 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.3271, allocations: 0 / 405.8 MB, free: 4.312 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002432/0.3273, allocations: 97.75 kB / 405.9 MB, free: 4.211 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.3274, allocations: 59.34 kB / 406 MB, free: 4.141 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.077e-05/0.3275, allocations: 121.8 kB / 406.1 MB, free: 4.012 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.3275, allocations: 29.7 kB / 406.1 MB, free: 3.977 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.186e-05/0.3276, allocations: 111.8 kB / 406.2 MB, free: 3.863 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/0.3276, allocations: 31.55 kB / 406.2 MB, free: 3.832 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.454e-05/0.3276, allocations: 29.72 kB / 406.3 MB, free: 3.797 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.3278, allocations: 318.8 kB / 406.6 MB, free: 3.477 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.313e-05/0.3278, allocations: 20 kB / 406.6 MB, free: 3.457 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.002e-05/0.3279, allocations: 50.42 kB / 406.6 MB, free: 3.398 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.328, allocations: 87.3 kB / 406.7 MB, free: 3.301 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.328, allocations: 0 / 406.7 MB, free: 3.301 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001557/0.3282, allocations: 109.5 kB / 406.8 MB, free: 3.188 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.3282, allocations: 4 kB / 406.8 MB, free: 3.184 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.3282, allocations: 0 / 406.8 MB, free: 3.184 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.3282, allocations: 4 kB / 406.8 MB, free: 3.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.3283, allocations: 31.92 kB / 406.9 MB, free: 3.148 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.3283, allocations: 7.875 kB / 406.9 MB, free: 3.141 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.398e-05/0.3284, allocations: 8.094 kB / 406.9 MB, free: 3.133 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.3284, allocations: 4 kB / 406.9 MB, free: 3.129 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 (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 prepare postOptimizeDAE: time 8.503e-05/0.3285, allocations: 117.8 kB / 407 MB, free: 3.004 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.985e-05/0.3285, allocations: 7.906 kB / 407 MB, free: 2.996 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.923e-05/0.3286, allocations: 12.36 kB / 407 MB, free: 2.984 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.3286, allocations: 4 kB / 407 MB, free: 2.98 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.3286, allocations: 3.938 kB / 407 MB, free: 2.977 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.3286, allocations: 0 / 407 MB, free: 2.977 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002161/0.3288, allocations: 213.5 kB / 407.3 MB, free: 2.719 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.3289, allocations: 0 / 407.3 MB, free: 2.719 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.329, allocations: 23.94 kB / 407.3 MB, free: 2.695 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.329, allocations: 0 / 407.3 MB, free: 2.695 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-06/0.329, allocations: 0 / 407.3 MB, free: 2.695 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.329, allocations: 0 / 407.3 MB, free: 2.695 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.329, allocations: 3.938 kB / 407.3 MB, free: 2.691 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.3293, allocations: 203.4 kB / 407.5 MB, free: 2.477 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.425e-05/0.3293, allocations: 81.14 kB / 407.6 MB, free: 2.379 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.3293, allocations: 8 kB / 407.6 MB, free: 2.371 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.477e-05/0.3294, allocations: 0 / 407.6 MB, free: 2.371 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.153e-05/0.3295, allocations: 3.938 kB / 407.6 MB, free: 2.367 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.3295, allocations: 8 kB / 407.6 MB, free: 2.359 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.229e-05/0.3295, allocations: 99.2 kB / 407.7 MB, free: 2.262 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3295, allocations: 0 / 407.7 MB, free: 2.262 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002446/0.3298, allocations: 23.91 kB / 407.7 MB, free: 2.238 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (eddyCurrentTorque.phi,inertia.w,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 (8): * Single equations (assignments): 8 * 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.3299, allocations: 103.3 kB / 407.8 MB, free: 2.129 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001535/0.3301, allocations: 67.84 kB / 407.9 MB, free: 2.062 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.3301, allocations: 0 / 407.9 MB, free: 2.062 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.804e-05/0.3301, allocations: 24 kB / 407.9 MB, free: 2.039 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.3305, allocations: 24 kB / 407.9 MB, free: 2.016 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007597/0.3312, allocations: 456.6 kB / 408.4 MB, free: 1.535 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.3315, allocations: 0.7117 MB / 409.1 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.561e-05/0.3316, allocations: 11.44 kB / 409.1 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3316, allocations: 0 / 409.1 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of Templates: time 0.002904/0.3345, allocations: 1.315 MB / 410.4 MB, free: 15.48 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches