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.0008409/0.000841, allocations: 98.28 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008941/0.0008941, allocations: 203.4 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 227.7 MB / 247.5 MB, free: 9.488 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002261/0.0002262, allocations: 4 kB / 308.4 MB, free: 0.5703 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1005, allocations: 51.53 MB / 359.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002533/0.1031, allocations: 1.687 MB / 361.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001316/0.1045, allocations: 0.6897 MB / 362.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001561/0.1047, allocations: 4 kB / 362.3 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001235/0.1048, allocations: 11.86 kB / 362.3 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001361/0.1049, allocations: 31.7 kB / 362.3 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002665/0.1052, allocations: 51.88 kB / 362.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002249/0.1055, allocations: 143.3 kB / 362.5 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.1056, allocations: 29.09 kB / 362.5 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.1057, allocations: 55.72 kB / 362.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.842e-05/0.1058, allocations: 47.77 kB / 362.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.1059, allocations: 8 kB / 362.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.514e-05/0.1059, allocations: 23.98 kB / 362.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.907e-05/0.106, allocations: 15.92 kB / 362.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.86e-05/0.1061, allocations: 85.38 kB / 362.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.1063, allocations: 100 kB / 362.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.1063, allocations: 4 kB / 362.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.1063, allocations: 0 / 362.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.1063, allocations: 4 kB / 362.9 MB, free: 10.04 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.0006572/0.107, allocations: 419.2 kB / 363.3 MB, free: 9.578 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.107, allocations: 8.031 kB / 363.3 MB, free: 9.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002155/0.1072, allocations: 28.73 kB / 363.3 MB, free: 9.543 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.1075, allocations: 204.1 kB / 363.5 MB, free: 9.305 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.1075, allocations: 8.375 kB / 363.5 MB, free: 9.297 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.48e-05/0.1075, allocations: 16.28 kB / 363.6 MB, free: 9.281 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003276/0.1079, allocations: 118.7 kB / 363.7 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.1079, allocations: 0 / 363.7 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.1079, allocations: 8 kB / 363.7 MB, free: 9.152 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1079, allocations: 3.938 kB / 363.7 MB, free: 9.148 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002963/0.1082, allocations: 107.9 kB / 363.8 MB, free: 9.043 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009972/0.1092, allocations: 0.5244 MB / 364.3 MB, free: 8.453 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003514/0.1096, allocations: 110.8 kB / 364.4 MB, free: 8.336 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.1097, allocations: 44.78 kB / 364.5 MB, free: 8.289 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.1098, allocations: 11.92 kB / 364.5 MB, free: 8.277 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.1098, allocations: 34.5 kB / 364.5 MB, free: 8.234 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.1098, allocations: 0 / 364.5 MB, free: 8.234 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004985/0.1103, allocations: 169.7 kB / 364.7 MB, free: 8.062 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.1104, allocations: 51.41 kB / 364.7 MB, free: 8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.1105, allocations: 140.5 kB / 364.9 MB, free: 7.855 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.1105, allocations: 29.7 kB / 364.9 MB, free: 7.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.946e-05/0.1106, allocations: 112.1 kB / 365 MB, free: 7.703 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.243e-05/0.1107, allocations: 35.55 kB / 365 MB, free: 7.668 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/0.1107, allocations: 13.72 kB / 365 MB, free: 7.648 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1108, allocations: 326.8 kB / 365.4 MB, free: 7.32 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.111, allocations: 39.97 kB / 365.4 MB, free: 7.281 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.1111, allocations: 71.41 kB / 365.5 MB, free: 7.199 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000286/0.1114, allocations: 115.3 kB / 365.6 MB, free: 7.074 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1114, allocations: 0 / 365.6 MB, free: 7.074 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003807/0.1118, allocations: 165.3 kB / 365.7 MB, free: 6.906 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.1118, allocations: 8 kB / 365.8 MB, free: 6.898 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1118, allocations: 0 / 365.8 MB, free: 6.898 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.1119, allocations: 0 / 365.8 MB, free: 6.898 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.112, allocations: 35.97 kB / 365.8 MB, free: 6.863 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1121, allocations: 4 kB / 365.8 MB, free: 6.859 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.1122, allocations: 27.89 kB / 365.8 MB, free: 6.832 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.1122, allocations: 4 kB / 365.8 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 0.0001075/0.1123, allocations: 126.4 kB / 365.9 MB, free: 6.695 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.672e-05/0.1124, allocations: 11.84 kB / 366 MB, free: 6.684 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.74e-05/0.1124, allocations: 16.72 kB / 366 MB, free: 6.668 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1124, allocations: 0 / 366 MB, free: 6.668 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1124, allocations: 0 / 366 MB, free: 6.668 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1124, allocations: 0 / 366 MB, free: 6.668 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002687/0.1127, allocations: 217.5 kB / 366.2 MB, free: 6.406 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1127, allocations: 4 kB / 366.2 MB, free: 6.402 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001735/0.1129, allocations: 27.98 kB / 366.2 MB, free: 6.375 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1129, allocations: 0 / 366.2 MB, free: 6.375 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.1129, allocations: 3.984 kB / 366.2 MB, free: 6.371 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.1129, allocations: 4 kB / 366.2 MB, free: 6.367 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1129, allocations: 0 / 366.2 MB, free: 6.367 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005064/0.1135, allocations: 279.2 kB / 366.5 MB, free: 6.078 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.844e-05/0.1135, allocations: 85.14 kB / 366.6 MB, free: 5.977 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.1136, allocations: 11.94 kB / 366.6 MB, free: 5.965 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.1137, allocations: 15.97 kB / 366.6 MB, free: 5.949 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.1137, allocations: 7.984 kB / 366.6 MB, free: 5.941 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.1138, allocations: 4 kB / 366.6 MB, free: 5.938 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.943e-05/0.1138, allocations: 99.27 kB / 366.7 MB, free: 5.84 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1138, allocations: 0 / 366.7 MB, free: 5.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002856/0.1141, allocations: 28 kB / 366.7 MB, free: 5.812 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.0001528/0.1143, allocations: 99.25 kB / 366.8 MB, free: 5.703 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003325/0.1146, allocations: 111.8 kB / 367 MB, free: 5.594 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1146, allocations: 0 / 367 MB, free: 5.594 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.1148, allocations: 51.91 kB / 367 MB, free: 5.543 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/0.1152, allocations: 30.16 kB / 367 MB, free: 5.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009158/0.1161, allocations: 0.5984 MB / 367.6 MB, free: 4.895 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.1164, allocations: 0.7043 MB / 368.3 MB, free: 4.164 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.758e-05/0.1165, allocations: 11.44 kB / 368.3 MB, free: 4.152 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1165, allocations: 0 / 368.3 MB, free: 4.152 MB / 302.1 MB Notification: Performance of Templates: time 0.00374/0.1202, allocations: 1.547 MB / 369.9 MB, free: 2.617 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/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.lossPower,heatCapacitor.T,inertia.phi,time