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.001486/0.001486, allocations: 114.7 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002079/0.002079, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 60.03 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09489/0.09601, allocations: 50.54 MB / 358.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003136/0.09919, allocations: 1.969 MB / 360.9 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.1003, allocations: 0.7168 MB / 361.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.826e-05/0.1004, allocations: 0 / 361.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.1005, allocations: 19.8 kB / 361.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.812e-05/0.1006, allocations: 35.64 kB / 361.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.1009, allocations: 51.86 kB / 361.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.1011, allocations: 143.3 kB / 361.8 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.1012, allocations: 45.02 kB / 361.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.082e-05/0.1013, allocations: 47.8 kB / 361.9 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.1014, allocations: 55.77 kB / 362 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.42e-05/0.1014, allocations: 12 kB / 362 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.863e-05/0.1015, allocations: 27.98 kB / 362 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.902e-05/0.1016, allocations: 19.92 kB / 362 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.588e-05/0.1017, allocations: 71.66 kB / 362.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.1019, allocations: 143.5 kB / 362.2 MB, free: 9.984 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.1019, allocations: 4 kB / 362.2 MB, free: 9.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1019, allocations: 4 kB / 362.2 MB, free: 9.977 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.1019, allocations: 0 / 362.2 MB, free: 9.977 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.0006886/0.1026, allocations: 431 kB / 362.7 MB, free: 9.508 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.1026, allocations: 12.03 kB / 362.7 MB, free: 9.496 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001981/0.1029, allocations: 28.73 kB / 362.7 MB, free: 9.469 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.1031, allocations: 212 kB / 362.9 MB, free: 9.223 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.1031, allocations: 8.375 kB / 362.9 MB, free: 9.215 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.1032, allocations: 8.375 kB / 362.9 MB, free: 9.207 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002803/0.1035, allocations: 126.6 kB / 363.1 MB, free: 9.078 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.1035, allocations: 0 / 363.1 MB, free: 9.078 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.1035, allocations: 4 kB / 363.1 MB, free: 9.074 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.1035, allocations: 7.984 kB / 363.1 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000252/0.1038, allocations: 83.94 kB / 363.1 MB, free: 8.984 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008486/0.1046, allocations: 0.5204 MB / 363.7 MB, free: 8.398 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002829/0.1049, allocations: 98.52 kB / 363.8 MB, free: 8.293 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.105, allocations: 44.88 kB / 363.8 MB, free: 8.246 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.1051, allocations: 3.938 kB / 363.8 MB, free: 8.242 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.1051, allocations: 38.56 kB / 363.8 MB, free: 8.195 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.1051, allocations: 0 / 363.8 MB, free: 8.195 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004006/0.1055, allocations: 145.6 kB / 364 MB, free: 8.047 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.1055, allocations: 55.41 kB / 364 MB, free: 7.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.1057, allocations: 140.5 kB / 364.2 MB, free: 7.836 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.1057, allocations: 25.7 kB / 364.2 MB, free: 7.805 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.1057, allocations: 116.1 kB / 364.3 MB, free: 7.684 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.1058, allocations: 35.41 kB / 364.4 MB, free: 7.648 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-05/0.1058, allocations: 29.7 kB / 364.4 MB, free: 7.613 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.1059, allocations: 322.8 kB / 364.7 MB, free: 7.289 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.1061, allocations: 35.98 kB / 364.7 MB, free: 7.254 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.1062, allocations: 67.39 kB / 364.8 MB, free: 7.176 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002297/0.1064, allocations: 115.2 kB / 364.9 MB, free: 7.051 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1064, allocations: 0 / 364.9 MB, free: 7.051 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002925/0.1067, allocations: 141.4 kB / 365.1 MB, free: 6.906 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.987e-05/0.1068, allocations: 8 kB / 365.1 MB, free: 6.898 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1068, allocations: 0 / 365.1 MB, free: 6.898 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.1068, allocations: 4 kB / 365.1 MB, free: 6.895 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.1069, allocations: 39.91 kB / 365.1 MB, free: 6.855 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.107, allocations: 8.078 kB / 365.1 MB, free: 6.848 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.938e-05/0.1071, allocations: 15.84 kB / 365.1 MB, free: 6.832 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.1071, allocations: 4 kB / 365.1 MB, free: 6.828 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 9.587e-05/0.1072, allocations: 126.4 kB / 365.3 MB, free: 6.695 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.378e-05/0.1072, allocations: 11.84 kB / 365.3 MB, free: 6.684 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.022e-05/0.1073, allocations: 16.72 kB / 365.3 MB, free: 6.668 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1073, allocations: 0 / 365.3 MB, free: 6.668 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1073, allocations: 3.938 kB / 365.3 MB, free: 6.664 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1073, allocations: 4 kB / 365.3 MB, free: 6.66 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002268/0.1075, allocations: 213.5 kB / 365.5 MB, free: 6.402 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1076, allocations: 7.938 kB / 365.5 MB, free: 6.395 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.1077, allocations: 23.98 kB / 365.5 MB, free: 6.371 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1077, allocations: 0 / 365.5 MB, free: 6.371 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.1077, allocations: 4 kB / 365.5 MB, free: 6.367 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1078, allocations: 4 kB / 365.5 MB, free: 6.363 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1078, allocations: 0 / 365.5 MB, free: 6.363 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004151/0.1082, allocations: 263.6 kB / 365.8 MB, free: 6.09 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.515e-05/0.1082, allocations: 89.05 kB / 365.9 MB, free: 5.984 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.1083, allocations: 3.938 kB / 365.9 MB, free: 5.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.1084, allocations: 8.031 kB / 365.9 MB, free: 5.973 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.1084, allocations: 15.98 kB / 365.9 MB, free: 5.957 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.1084, allocations: 0 / 365.9 MB, free: 5.957 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.446e-05/0.1085, allocations: 99.27 kB / 366 MB, free: 5.859 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1085, allocations: 4 kB / 366 MB, free: 5.855 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002389/0.1088, allocations: 31.91 kB / 366 MB, free: 5.824 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 9.682e-05/0.1089, allocations: 99.25 kB / 366.1 MB, free: 5.715 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002625/0.1091, allocations: 91.81 kB / 366.2 MB, free: 5.625 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1091, allocations: 0 / 366.2 MB, free: 5.625 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.1093, allocations: 52.16 kB / 366.3 MB, free: 5.574 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.1095, allocations: 20.02 kB / 366.3 MB, free: 5.555 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006905/0.1102, allocations: 467.2 kB / 366.8 MB, free: 5.074 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.1105, allocations: 0.7041 MB / 367.5 MB, free: 4.344 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.211e-05/0.1106, allocations: 8.547 kB / 367.5 MB, free: 4.336 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.333e-05/0.1106, allocations: 15.44 kB / 367.5 MB, free: 4.32 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1106, allocations: 0 / 367.5 MB, free: 4.32 MB / 302.1 MB Notification: Performance of Templates: time 0.003356/0.114, allocations: 1.185 MB / 368.7 MB, free: 3.156 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 -s cvode -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/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_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