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.001489/0.001489, allocations: 108.4 kB / 18.34 MB, free: 4.676 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.001597/0.001597, allocations: 186.9 kB / 19.28 MB, free: 3.75 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.48/1.48, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.00207/0.00207, allocations: 56.14 kB / 282.1 MB, free: 2.449 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08673/0.08882, allocations: 46.63 MB / 328.7 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003128/0.09199, allocations: 1.773 MB / 330.5 MB, free: 1.961 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.09318, allocations: 0.6795 MB / 331.2 MB, free: 1.273 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.015e-05/0.09328, allocations: 0 / 331.2 MB, free: 1.273 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001385/0.09344, allocations: 15.86 kB / 331.2 MB, free: 1.258 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.112e-05/0.09352, allocations: 31.7 kB / 331.2 MB, free: 1.227 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000249/0.09378, allocations: 47.81 kB / 331.3 MB, free: 1.18 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.09396, allocations: 119.4 kB / 331.4 MB, free: 1.062 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.0941, allocations: 31.97 kB / 331.4 MB, free: 1.031 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.894e-05/0.09417, allocations: 43.8 kB / 331.4 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.936e-05/0.09428, allocations: 47.78 kB / 331.5 MB, free: 0.9414 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.0943, allocations: 8 kB / 331.5 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.488e-05/0.09439, allocations: 27.98 kB / 331.5 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.772e-05/0.09443, allocations: 19.92 kB / 331.5 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.984e-05/0.09449, allocations: 47.8 kB / 331.6 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.09469, allocations: 123.6 kB / 331.7 MB, free: 0.7188 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.09471, allocations: 0 / 331.7 MB, free: 0.7188 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.09471, allocations: 4 kB / 331.7 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.241e-06/0.09474, allocations: 0 / 331.7 MB, free: 0.7148 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.0005693/0.09531, allocations: 407.3 kB / 332.1 MB, free: 276 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.09536, allocations: 11.89 kB / 332.1 MB, free: 264 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001995/0.09556, allocations: 28.81 kB / 332.2 MB, free: 236 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.0958, allocations: 196.1 kB / 332.3 MB, free: 0 / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.09584, allocations: 8.609 kB / 332.4 MB, free: 15.99 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/0.09588, allocations: 8.375 kB / 332.4 MB, free: 15.98 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/0.09612, allocations: 97.55 kB / 332.5 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.09615, allocations: 11.92 kB / 332.5 MB, free: 15.87 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/0.09617, allocations: 8 kB / 332.5 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.09618, allocations: 3.938 kB / 332.5 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/0.09632, allocations: 55.97 kB / 332.5 MB, free: 15.8 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007305/0.09705, allocations: 481.1 kB / 333 MB, free: 15.27 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003042/0.09737, allocations: 90.58 kB / 333.1 MB, free: 15.17 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.811e-05/0.09743, allocations: 32.89 kB / 333.1 MB, free: 15.14 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.09745, allocations: 0 / 333.1 MB, free: 15.14 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.09748, allocations: 34.5 kB / 333.2 MB, free: 15.09 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 9.51e-07/0.09748, allocations: 0 / 333.2 MB, free: 15.09 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.000239/0.09773, allocations: 97.73 kB / 333.3 MB, free: 14.99 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.09777, allocations: 59.34 kB / 333.3 MB, free: 14.92 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.263e-05/0.09786, allocations: 121.8 kB / 333.4 MB, free: 14.79 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.09788, allocations: 25.7 kB / 333.5 MB, free: 14.76 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.733e-05/0.09794, allocations: 111.9 kB / 333.6 MB, free: 14.65 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.09797, allocations: 27.56 kB / 333.6 MB, free: 14.62 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.232e-05/0.09802, allocations: 29.7 kB / 333.6 MB, free: 14.59 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.09813, allocations: 318.8 kB / 333.9 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.191e-05/0.09818, allocations: 19.98 kB / 334 MB, free: 14.25 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.104e-05/0.09825, allocations: 55.36 kB / 334 MB, free: 14.18 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.09836, allocations: 79.38 kB / 334.1 MB, free: 14.09 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.09837, allocations: 0 / 334.1 MB, free: 14.09 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001584/0.09853, allocations: 109.6 kB / 334.2 MB, free: 13.98 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.09855, allocations: 8 kB / 334.2 MB, free: 13.97 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.09856, allocations: 3.938 kB / 334.2 MB, free: 13.96 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.09858, allocations: 0 / 334.2 MB, free: 13.96 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.09869, allocations: 23.98 kB / 334.2 MB, free: 13.94 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.09871, allocations: 7.938 kB / 334.2 MB, free: 13.93 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.685e-05/0.09878, allocations: 11.84 kB / 334.3 MB, free: 13.92 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.0988, allocations: 4 kB / 334.3 MB, free: 13.92 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 9.317e-05/0.09889, allocations: 125.9 kB / 334.4 MB, free: 13.79 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.626e-05/0.09893, allocations: 7.969 kB / 334.4 MB, free: 13.78 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.866e-05/0.09897, allocations: 16.36 kB / 334.4 MB, free: 13.76 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.09898, allocations: 0 / 334.4 MB, free: 13.76 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.09899, allocations: 7.875 kB / 334.4 MB, free: 13.75 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.099, allocations: 0 / 334.4 MB, free: 13.75 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/0.09921, allocations: 201.5 kB / 334.6 MB, free: 13.51 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.09922, allocations: 0 / 334.6 MB, free: 13.51 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.09935, allocations: 23.98 kB / 334.6 MB, free: 13.48 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.09936, allocations: 0 / 334.6 MB, free: 13.48 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.09937, allocations: 0 / 334.6 MB, free: 13.48 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.09938, allocations: 4 kB / 334.6 MB, free: 13.48 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.09939, allocations: 7.938 kB / 334.6 MB, free: 13.47 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002183/0.09961, allocations: 203.4 kB / 334.8 MB, free: 13.26 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.029e-05/0.09966, allocations: 89.02 kB / 334.9 MB, free: 13.15 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.09968, allocations: 4.031 kB / 334.9 MB, free: 13.15 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.525e-05/0.09976, allocations: 0 / 334.9 MB, free: 13.15 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.928e-05/0.09979, allocations: 7.938 kB / 334.9 MB, free: 13.14 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.0998, allocations: 0 / 334.9 MB, free: 13.14 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.119e-05/0.09987, allocations: 103.3 kB / 335 MB, free: 13.04 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.09987, allocations: 0 / 335 MB, free: 13.04 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002464/0.1001, allocations: 23.94 kB / 335.1 MB, free: 13.02 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.549e-05/0.1002, allocations: 99.25 kB / 335.2 MB, free: 12.91 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000148/0.1004, allocations: 59.91 kB / 335.2 MB, free: 12.85 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1004, allocations: 0 / 335.2 MB, free: 12.85 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.427e-05/0.1004, allocations: 31.92 kB / 335.2 MB, free: 12.82 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.1007, allocations: 24.17 kB / 335.3 MB, free: 12.79 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007711/0.1015, allocations: 422.8 kB / 335.7 MB, free: 12.35 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.1018, allocations: 0.6963 MB / 336.4 MB, free: 11.62 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.429e-05/0.1019, allocations: 8.609 kB / 336.4 MB, free: 11.62 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.807e-05/0.1019, allocations: 15.44 kB / 336.4 MB, free: 11.6 MB / 286.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1019, allocations: 3.938 kB / 336.4 MB, free: 11.6 MB / 286.1 MB Notification: Performance of Templates: time 0.003267/0.1052, allocations: 0.9122 MB / 337.3 MB, free: 10.69 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches