Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.0008824/0.0008827, allocations: 93.72 kB / 17.3 MB, free: 6.391 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.0009629/0.0009631, allocations: 171.6 kB / 18.2 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.555/1.555, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004664/0.0004666, allocations: 23.92 kB / 281.4 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1078, allocations: 47.57 MB / 329 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002274/0.1101, allocations: 1.477 MB / 330.4 MB, free: 2.273 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.1112, allocations: 0.6633 MB / 331.1 MB, free: 1.602 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.1114, allocations: 0 / 331.1 MB, free: 1.602 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.1115, allocations: 15.86 kB / 331.1 MB, free: 1.586 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.533e-05/0.1116, allocations: 27.77 kB / 331.1 MB, free: 1.559 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002154/0.1118, allocations: 39.89 kB / 331.2 MB, free: 1.52 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.112, allocations: 119.4 kB / 331.3 MB, free: 1.402 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.1121, allocations: 19.98 kB / 331.3 MB, free: 1.383 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.682e-05/0.1122, allocations: 39.8 kB / 331.4 MB, free: 1.344 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.1123, allocations: 51.77 kB / 331.4 MB, free: 1.293 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.1124, allocations: 4 kB / 331.4 MB, free: 1.289 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.949e-05/0.1125, allocations: 23.98 kB / 331.4 MB, free: 1.266 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.116e-05/0.1125, allocations: 11.94 kB / 331.4 MB, free: 1.254 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.807e-05/0.1126, allocations: 69.5 kB / 331.5 MB, free: 1.18 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001741/0.1127, allocations: 119.9 kB / 331.6 MB, free: 1.062 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1127, allocations: 0 / 331.6 MB, free: 1.062 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1128, allocations: 4 kB / 331.6 MB, free: 1.059 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1128, allocations: 0 / 331.6 MB, free: 1.059 MB / 270.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.0005131/0.1133, allocations: 391.4 kB / 332 MB, free: 0.6289 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.1133, allocations: 8.031 kB / 332 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002291/0.1136, allocations: 28.73 kB / 332.1 MB, free: 0.5938 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.1138, allocations: 192.2 kB / 332.2 MB, free: 376 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.1138, allocations: 8.562 kB / 332.2 MB, free: 368 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.776e-05/0.1139, allocations: 16.28 kB / 332.3 MB, free: 352 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/0.1141, allocations: 89.59 kB / 332.4 MB, free: 256 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.1141, allocations: 7.938 kB / 332.4 MB, free: 248 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.1142, allocations: 11.94 kB / 332.4 MB, free: 236 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.1142, allocations: 0 / 332.4 MB, free: 236 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.1143, allocations: 55.97 kB / 332.4 MB, free: 180 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009247/0.1153, allocations: 489.2 kB / 332.9 MB, free: 15.63 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/0.1156, allocations: 86.61 kB / 333 MB, free: 15.54 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.113e-05/0.1156, allocations: 24.8 kB / 333 MB, free: 15.51 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.1156, allocations: 4 kB / 333 MB, free: 15.51 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.1157, allocations: 34.5 kB / 333 MB, free: 15.46 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 2.865e-06/0.1157, allocations: 3.984 kB / 333.1 MB, free: 15.46 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002693/0.116, allocations: 97.58 kB / 333.1 MB, free: 15.36 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.116, allocations: 59.34 kB / 333.2 MB, free: 15.29 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.1161, allocations: 117.8 kB / 333.3 MB, free: 15.16 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.1162, allocations: 29.7 kB / 333.4 MB, free: 15.13 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.816e-05/0.1163, allocations: 111.8 kB / 333.5 MB, free: 15.02 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.1163, allocations: 31.7 kB / 333.5 MB, free: 14.98 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.1163, allocations: 17.72 kB / 333.5 MB, free: 14.96 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.1165, allocations: 318.8 kB / 333.8 MB, free: 14.64 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.739e-05/0.1165, allocations: 20 kB / 333.8 MB, free: 14.62 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.182e-05/0.1166, allocations: 55.36 kB / 333.9 MB, free: 14.55 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.1167, allocations: 83.34 kB / 334 MB, free: 14.46 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1167, allocations: 0 / 334 MB, free: 14.46 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001879/0.1169, allocations: 113.5 kB / 334.1 MB, free: 14.34 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.117, allocations: 4 kB / 334.1 MB, free: 14.34 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.117, allocations: 7.938 kB / 334.1 MB, free: 14.33 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.117, allocations: 7.984 kB / 334.1 MB, free: 14.32 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.1171, allocations: 20 kB / 334.1 MB, free: 14.3 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.1171, allocations: 4.031 kB / 334.1 MB, free: 14.3 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.851e-05/0.1172, allocations: 15.86 kB / 334.1 MB, free: 14.29 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.1172, allocations: 4 kB / 334.1 MB, free: 14.28 MB / 286.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.0001183/0.1174, allocations: 129.9 kB / 334.3 MB, free: 14.14 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.153e-05/0.1174, allocations: 7.906 kB / 334.3 MB, free: 14.14 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.777e-05/0.1175, allocations: 16.38 kB / 334.3 MB, free: 14.12 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.1175, allocations: 0 / 334.3 MB, free: 14.12 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.1175, allocations: 3.938 kB / 334.3 MB, free: 14.12 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1175, allocations: 0 / 334.3 MB, free: 14.12 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.1177, allocations: 193.6 kB / 334.5 MB, free: 13.88 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1177, allocations: 0 / 334.5 MB, free: 13.88 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.1179, allocations: 23.98 kB / 334.5 MB, free: 13.86 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1179, allocations: 3.938 kB / 334.5 MB, free: 13.85 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.1179, allocations: 0 / 334.5 MB, free: 13.85 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1179, allocations: 4 kB / 334.5 MB, free: 13.85 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.1179, allocations: 3.938 kB / 334.5 MB, free: 13.84 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002684/0.1182, allocations: 211.4 kB / 334.7 MB, free: 13.62 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.16e-05/0.1182, allocations: 81.02 kB / 334.8 MB, free: 13.52 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.1183, allocations: 4 kB / 334.8 MB, free: 13.52 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.822e-05/0.1183, allocations: 4 kB / 334.8 MB, free: 13.52 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.473e-05/0.1184, allocations: 11.97 kB / 334.8 MB, free: 13.5 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.1184, allocations: 4 kB / 334.8 MB, free: 13.5 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.639e-05/0.1185, allocations: 95.27 kB / 334.9 MB, free: 13.41 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1185, allocations: 0 / 334.9 MB, free: 13.41 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002468/0.1187, allocations: 31.84 kB / 335 MB, free: 13.38 MB / 286.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 9.899e-05/0.1188, allocations: 91.25 kB / 335 MB, free: 13.27 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001654/0.119, allocations: 59.92 kB / 335.1 MB, free: 13.21 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.119, allocations: 0 / 335.1 MB, free: 13.21 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.02e-05/0.119, allocations: 28.11 kB / 335.1 MB, free: 13.19 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.1194, allocations: 20 kB / 335.2 MB, free: 13.17 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000777/0.1202, allocations: 0.5166 MB / 335.7 MB, free: 12.62 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.1205, allocations: 0.7043 MB / 336.4 MB, free: 11.89 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.02e-05/0.1206, allocations: 12.61 kB / 336.4 MB, free: 11.88 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.235e-05/0.1206, allocations: 11.44 kB / 336.4 MB, free: 11.87 MB / 286.1 MB Notification: Performance of SimCode: time 7.72e-07/0.1206, allocations: 3.938 kB / 336.4 MB, free: 11.87 MB / 286.1 MB Notification: Performance of Templates: time 0.00364/0.1242, allocations: 0.8672 MB / 337.3 MB, free: 11.01 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches