Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001286/0.001286, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001454/0.001454, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 67.94 kB / 306.9 MB, free: 0.6367 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09219/0.09337, allocations: 50.53 MB / 357.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002894/0.0963, allocations: 1.972 MB / 359.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009493/0.09726, allocations: 0.709 MB / 360.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.73e-05/0.09735, allocations: 0 / 360.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001064/0.09748, allocations: 19.8 kB / 360.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.061e-05/0.09755, allocations: 39.64 kB / 360.2 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002128/0.09777, allocations: 55.8 kB / 360.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.09794, allocations: 143.3 kB / 360.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.09808, allocations: 33.11 kB / 360.4 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.656e-05/0.09816, allocations: 59.77 kB / 360.5 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.09827, allocations: 59.72 kB / 360.5 MB, free: 11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.0983, allocations: 8 kB / 360.6 MB, free: 11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.104e-05/0.09839, allocations: 27.98 kB / 360.6 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.571e-05/0.09842, allocations: 23.86 kB / 360.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.082e-05/0.09848, allocations: 59.67 kB / 360.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.09868, allocations: 151.8 kB / 360.8 MB, free: 10.74 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.0987, allocations: 3.938 kB / 360.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.0987, allocations: 4 kB / 360.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.09871, allocations: 0 / 360.8 MB, free: 10.73 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006064/0.09932, allocations: 427 kB / 361.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.09937, allocations: 12.03 kB / 361.2 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000183/0.09955, allocations: 32.73 kB / 361.3 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.09974, allocations: 196.1 kB / 361.5 MB, free: 9.992 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.09976, allocations: 16.38 kB / 361.5 MB, free: 9.977 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.95e-05/0.0998, allocations: 12.36 kB / 361.5 MB, free: 9.965 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002584/0.1001, allocations: 122.6 kB / 361.6 MB, free: 9.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.1001, allocations: 0 / 361.6 MB, free: 9.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.1001, allocations: 4 kB / 361.6 MB, free: 9.836 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.1001, allocations: 4 kB / 361.6 MB, free: 9.832 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002489/0.1004, allocations: 83.94 kB / 361.7 MB, free: 9.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008115/0.1012, allocations: 0.5243 MB / 362.2 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003027/0.1015, allocations: 106.5 kB / 362.3 MB, free: 9.047 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.1016, allocations: 40.84 kB / 362.4 MB, free: 9.004 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.1017, allocations: 7.938 kB / 362.4 MB, free: 8.996 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.1017, allocations: 30.56 kB / 362.4 MB, free: 8.957 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.1017, allocations: 0 / 362.4 MB, free: 8.957 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004503/0.1021, allocations: 149.7 kB / 362.6 MB, free: 8.805 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.1022, allocations: 51.41 kB / 362.6 MB, free: 8.742 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.1023, allocations: 148.6 kB / 362.8 MB, free: 8.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.1023, allocations: 25.7 kB / 362.8 MB, free: 8.559 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.888e-05/0.1024, allocations: 112.2 kB / 362.9 MB, free: 8.441 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.1024, allocations: 39.83 kB / 362.9 MB, free: 8.402 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-05/0.1025, allocations: 21.72 kB / 362.9 MB, free: 8.375 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.1026, allocations: 326.8 kB / 363.3 MB, free: 8.047 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.1027, allocations: 35.97 kB / 363.3 MB, free: 8.012 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.1029, allocations: 71.34 kB / 363.4 MB, free: 7.93 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002341/0.1031, allocations: 115.3 kB / 363.5 MB, free: 7.805 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1031, allocations: 0 / 363.5 MB, free: 7.805 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002918/0.1034, allocations: 141.4 kB / 363.6 MB, free: 7.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1034, allocations: 4 kB / 363.6 MB, free: 7.656 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1034, allocations: 0 / 363.6 MB, free: 7.656 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.1035, allocations: 8.094 kB / 363.6 MB, free: 7.648 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.1036, allocations: 35.91 kB / 363.7 MB, free: 7.613 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1036, allocations: 0 / 363.7 MB, free: 7.613 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.386e-05/0.1037, allocations: 23.83 kB / 363.7 MB, free: 7.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.1037, allocations: 4 kB / 363.7 MB, free: 7.586 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 (14): * Single equations (assignments): 14 * 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.886e-05/0.1038, allocations: 118.5 kB / 363.8 MB, free: 7.461 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-05/0.1039, allocations: 11.84 kB / 363.8 MB, free: 7.449 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.04e-05/0.1039, allocations: 16.72 kB / 363.8 MB, free: 7.434 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.1039, allocations: 4 kB / 363.8 MB, free: 7.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.1039, allocations: 3.938 kB / 363.8 MB, free: 7.426 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.104, allocations: 3.938 kB / 363.9 MB, free: 7.422 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.1042, allocations: 213.5 kB / 364.1 MB, free: 7.164 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1042, allocations: 0 / 364.1 MB, free: 7.164 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001617/0.1043, allocations: 27.97 kB / 364.1 MB, free: 7.137 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1044, allocations: 0 / 364.1 MB, free: 7.137 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.1044, allocations: 7.984 kB / 364.1 MB, free: 7.129 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1044, allocations: 0 / 364.1 MB, free: 7.129 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1044, allocations: 0 / 364.1 MB, free: 7.129 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004252/0.1048, allocations: 259.3 kB / 364.3 MB, free: 6.859 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.582e-05/0.1049, allocations: 88.95 kB / 364.4 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.1049, allocations: 0 / 364.4 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.105, allocations: 12.03 kB / 364.4 MB, free: 6.742 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.1051, allocations: 7.984 kB / 364.5 MB, free: 6.734 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.1051, allocations: 12 kB / 364.5 MB, free: 6.723 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.672e-05/0.1052, allocations: 101.9 kB / 364.6 MB, free: 6.625 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1052, allocations: 0 / 364.6 MB, free: 6.625 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002442/0.1054, allocations: 31.91 kB / 364.6 MB, free: 6.594 MB / 302.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 (9): * Single equations (assignments): 9 * 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.0001112/0.1055, allocations: 99.19 kB / 364.7 MB, free: 6.484 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002818/0.1058, allocations: 95.91 kB / 364.8 MB, free: 6.391 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1058, allocations: 4.188 kB / 364.8 MB, free: 6.387 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.106, allocations: 47.91 kB / 364.8 MB, free: 6.34 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.1063, allocations: 26.92 kB / 364.9 MB, free: 6.316 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006903/0.107, allocations: 463.3 kB / 365.3 MB, free: 5.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.1072, allocations: 0.7041 MB / 366 MB, free: 5.109 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.707e-05/0.1073, allocations: 12.55 kB / 366 MB, free: 5.098 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/0.1073, allocations: 15.44 kB / 366 MB, free: 5.082 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1073, allocations: 0 / 366 MB, free: 5.082 MB / 302.1 MB Notification: Performance of Templates: time 0.003217/0.1105, allocations: 1.177 MB / 367.2 MB, free: 3.926 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,inertia.phi,heatCapacitor.T,eddyCurrentTorque.lossPower Variables in the result:eddyCurrentTorque.T,eddyCurrentTorque.TRef,eddyCurrentTorque.alpha20,eddyCurrentTorque.constantExcitation,eddyCurrentTorque.lossPower,eddyCurrentTorque.phi,eddyCurrentTorque.tau_nominal,eddyCurrentTorque.useExcitationInput,eddyCurrentTorque.w_nominal,heatCapacitor.C,heatCapacitor.T,inertia.J,inertia.phi,ramp.duration,ramp.height,ramp.offset,ramp.startTime,time