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.00133/0.00133, allocations: 105.9 kB / 17.74 MB, free: 5.363 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.001458/0.001458, allocations: 193.5 kB / 18.67 MB, free: 4.438 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.328/1.328, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 43.94 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3118, allocations: 49.43 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003336/0.3152, allocations: 1.767 MB / 403.2 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.3165, allocations: 0.6349 MB / 403.8 MB, free: 6.469 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.3167, allocations: 4 kB / 403.8 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001224/0.3168, allocations: 11.86 kB / 403.8 MB, free: 6.453 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.533e-05/0.3169, allocations: 35.64 kB / 403.8 MB, free: 6.418 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002608/0.3172, allocations: 51.88 kB / 403.9 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.3174, allocations: 123.4 kB / 404 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.3175, allocations: 31.98 kB / 404 MB, free: 6.215 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.742e-05/0.3176, allocations: 43.8 kB / 404.1 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.49e-05/0.3177, allocations: 47.78 kB / 404.1 MB, free: 6.125 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/0.3177, allocations: 8 kB / 404.1 MB, free: 6.117 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.47e-05/0.3178, allocations: 23.98 kB / 404.2 MB, free: 6.094 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.56e-05/0.3179, allocations: 23.91 kB / 404.2 MB, free: 6.07 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.849e-05/0.3179, allocations: 51.73 kB / 404.2 MB, free: 6.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.3181, allocations: 124.8 kB / 404.4 MB, free: 5.902 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3181, allocations: 0 / 404.4 MB, free: 5.902 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3181, allocations: 4 kB / 404.4 MB, free: 5.898 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.3182, allocations: 0 / 404.4 MB, free: 5.898 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.0005795/0.3187, allocations: 415.2 kB / 404.8 MB, free: 5.445 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.3188, allocations: 11.89 kB / 404.8 MB, free: 5.434 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000215/0.319, allocations: 24.83 kB / 404.8 MB, free: 5.41 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002871/0.3193, allocations: 200.1 kB / 405 MB, free: 5.176 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.3193, allocations: 8.562 kB / 405 MB, free: 5.168 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/0.3194, allocations: 16.36 kB / 405 MB, free: 5.152 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.3196, allocations: 99.22 kB / 405.1 MB, free: 5.051 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.3196, allocations: 0 / 405.1 MB, free: 5.051 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.3196, allocations: 4 kB / 405.1 MB, free: 5.047 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.3196, allocations: 4 kB / 405.1 MB, free: 5.043 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.3198, allocations: 55.91 kB / 405.2 MB, free: 4.988 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000829/0.3206, allocations: 493.1 kB / 405.7 MB, free: 4.445 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002618/0.3209, allocations: 78.53 kB / 405.7 MB, free: 4.359 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.043e-05/0.321, allocations: 28.89 kB / 405.8 MB, free: 4.328 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.321, allocations: 0 / 405.8 MB, free: 4.328 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.321, allocations: 34.56 kB / 405.8 MB, free: 4.285 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.452e-06/0.321, allocations: 4 kB / 405.8 MB, free: 4.281 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002616/0.3213, allocations: 89.67 kB / 405.9 MB, free: 4.188 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.3213, allocations: 59.34 kB / 406 MB, free: 4.117 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.841e-05/0.3214, allocations: 113.8 kB / 406.1 MB, free: 3.996 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.3215, allocations: 29.7 kB / 406.1 MB, free: 3.961 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.433e-05/0.3215, allocations: 111.8 kB / 406.2 MB, free: 3.848 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.3216, allocations: 31.55 kB / 406.2 MB, free: 3.816 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.437e-05/0.3216, allocations: 21.72 kB / 406.3 MB, free: 3.789 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.3218, allocations: 330.8 kB / 406.6 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.842e-05/0.3218, allocations: 20 kB / 406.6 MB, free: 3.438 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.581e-05/0.3219, allocations: 50.55 kB / 406.6 MB, free: 3.379 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.322, allocations: 79.52 kB / 406.7 MB, free: 3.289 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.322, allocations: 4 kB / 406.7 MB, free: 3.285 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001703/0.3222, allocations: 113.5 kB / 406.8 MB, free: 3.168 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.3222, allocations: 4 kB / 406.8 MB, free: 3.164 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.3222, allocations: 0 / 406.8 MB, free: 3.164 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.3223, allocations: 7.938 kB / 406.9 MB, free: 3.156 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.3224, allocations: 23.98 kB / 406.9 MB, free: 3.133 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.3224, allocations: 3.938 kB / 406.9 MB, free: 3.129 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.578e-05/0.3225, allocations: 4 kB / 406.9 MB, free: 3.125 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.3225, allocations: 4.188 kB / 406.9 MB, free: 3.121 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 0.0001142/0.3226, allocations: 133.7 kB / 407 MB, free: 2.98 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.437e-05/0.3227, allocations: 7.906 kB / 407 MB, free: 2.973 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.762e-05/0.3227, allocations: 8.375 kB / 407 MB, free: 2.965 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.3227, allocations: 4 kB / 407 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.487e-06/0.3227, allocations: 3.938 kB / 407 MB, free: 2.957 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.3227, allocations: 0 / 407 MB, free: 2.957 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002924/0.323, allocations: 209.5 kB / 407.2 MB, free: 2.703 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.3231, allocations: 0 / 407.2 MB, free: 2.703 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.3232, allocations: 20 kB / 407.3 MB, free: 2.684 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.054e-06/0.3232, allocations: 11.98 kB / 407.3 MB, free: 2.672 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.3232, allocations: 0 / 407.3 MB, free: 2.672 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3232, allocations: 0 / 407.3 MB, free: 2.672 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/0.3233, allocations: 3.938 kB / 407.3 MB, free: 2.668 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003298/0.3236, allocations: 207.4 kB / 407.5 MB, free: 2.449 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.898e-05/0.3237, allocations: 77.11 kB / 407.6 MB, free: 2.355 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.3237, allocations: 0 / 407.6 MB, free: 2.355 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.867e-05/0.3238, allocations: 4 kB / 407.6 MB, free: 2.352 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.186e-05/0.3238, allocations: 24.03 kB / 407.6 MB, free: 2.328 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.3238, allocations: 4 kB / 407.6 MB, free: 2.324 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.832e-05/0.3239, allocations: 91.66 kB / 407.7 MB, free: 2.234 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3239, allocations: 0 / 407.7 MB, free: 2.234 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002791/0.3242, allocations: 27.91 kB / 407.7 MB, free: 2.207 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.0001493/0.3243, allocations: 103.2 kB / 407.8 MB, free: 2.098 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001696/0.3245, allocations: 59.92 kB / 407.9 MB, free: 2.039 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3245, allocations: 4.188 kB / 407.9 MB, free: 2.035 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.792e-05/0.3246, allocations: 27.92 kB / 407.9 MB, free: 2.008 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.3249, allocations: 15.94 kB / 407.9 MB, free: 1.992 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008733/0.3258, allocations: 456.4 kB / 408.4 MB, free: 1.512 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.3261, allocations: 0.7078 MB / 409.1 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.109e-05/0.3262, allocations: 11.62 kB / 409.1 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3262, allocations: 0 / 409.1 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of Templates: time 0.003578/0.3298, allocations: 1.327 MB / 410.4 MB, free: 15.45 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