Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001494/0.001494, allocations: 113.6 kB / 17.69 MB, free: 5.309 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.001568/0.001568, allocations: 192 kB / 18.63 MB, free: 4.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 242.3 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009756/0.0009756, allocations: 47.48 kB / 302.1 MB, free: 5.199 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08928/0.09028, allocations: 49.44 MB / 351.5 MB, free: 3.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002829/0.09316, allocations: 1.76 MB / 353.3 MB, free: 1.957 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008278/0.094, allocations: 0.6349 MB / 353.9 MB, free: 1.316 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.308e-05/0.09407, allocations: 4 kB / 353.9 MB, free: 1.312 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.487e-05/0.09417, allocations: 19.8 kB / 353.9 MB, free: 1.293 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.023e-05/0.09425, allocations: 31.7 kB / 353.9 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001957/0.09445, allocations: 47.8 kB / 354 MB, free: 1.215 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.0946, allocations: 119.4 kB / 354.1 MB, free: 1.098 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.09472, allocations: 35.97 kB / 354.1 MB, free: 1.062 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.425e-05/0.09478, allocations: 39.86 kB / 354.2 MB, free: 1.023 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.329e-05/0.09487, allocations: 47.77 kB / 354.2 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.09489, allocations: 8 kB / 354.2 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.475e-05/0.09497, allocations: 23.98 kB / 354.3 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.008e-05/0.09501, allocations: 23.92 kB / 354.3 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.005e-05/0.09506, allocations: 47.75 kB / 354.3 MB, free: 0.875 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.09524, allocations: 127.6 kB / 354.5 MB, free: 0.75 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.09525, allocations: 4 kB / 354.5 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.09526, allocations: 0 / 354.5 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.09527, allocations: 0 / 354.5 MB, free: 0.7461 MB / 286.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.0004935/0.09577, allocations: 407.2 kB / 354.9 MB, free: 308 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.0958, allocations: 11.89 kB / 354.9 MB, free: 296 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000174/0.09598, allocations: 24.83 kB / 354.9 MB, free: 272 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.09619, allocations: 200.1 kB / 355.1 MB, free: 32 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.09621, allocations: 4.562 kB / 355.1 MB, free: 28 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.952e-05/0.09624, allocations: 12.38 kB / 355.1 MB, free: 16 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.09643, allocations: 104.6 kB / 355.2 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.09645, allocations: 7.984 kB / 355.2 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.09647, allocations: 0 / 355.2 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.09648, allocations: 0 / 355.2 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.09659, allocations: 59.97 kB / 355.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006684/0.09727, allocations: 481.1 kB / 355.7 MB, free: 15.31 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/0.09751, allocations: 94.52 kB / 355.8 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.265e-05/0.09756, allocations: 28.89 kB / 355.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.09758, allocations: 0 / 355.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.0976, allocations: 34.56 kB / 355.9 MB, free: 15.13 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.09761, allocations: 0 / 355.9 MB, free: 15.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002106/0.09782, allocations: 97.52 kB / 356 MB, free: 15.03 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/0.09786, allocations: 59.34 kB / 356.1 MB, free: 14.96 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.641e-05/0.09795, allocations: 125.8 kB / 356.2 MB, free: 14.83 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.09797, allocations: 29.64 kB / 356.2 MB, free: 14.79 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.151e-05/0.09802, allocations: 107.9 kB / 356.3 MB, free: 14.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.09805, allocations: 31.7 kB / 356.3 MB, free: 14.65 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.295e-05/0.0981, allocations: 33.7 kB / 356.4 MB, free: 14.61 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.09821, allocations: 314.8 kB / 356.7 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.109e-05/0.09826, allocations: 23.98 kB / 356.7 MB, free: 14.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.826e-05/0.09832, allocations: 58.17 kB / 356.8 MB, free: 14.21 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.09843, allocations: 71.38 kB / 356.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.09844, allocations: 3.984 kB / 356.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001545/0.0986, allocations: 117.4 kB / 357 MB, free: 14 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.09862, allocations: 8 kB / 357 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.09863, allocations: 0 / 357 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.09864, allocations: 4 kB / 357 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.09876, allocations: 27.92 kB / 357 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.09877, allocations: 4.25 kB / 357 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.705e-05/0.09883, allocations: 15.84 kB / 357 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.09885, allocations: 4 kB / 357 MB, free: 13.94 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 (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 8.472e-05/0.09894, allocations: 121.9 kB / 357.1 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.863e-05/0.09897, allocations: 7.906 kB / 357.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.507e-05/0.09901, allocations: 16.36 kB / 357.2 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.09902, allocations: 0 / 357.2 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.09903, allocations: 3.938 kB / 357.2 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.09904, allocations: 4 kB / 357.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.09926, allocations: 189.6 kB / 357.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.09927, allocations: 0 / 357.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/0.0994, allocations: 23.92 kB / 357.4 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.09941, allocations: 0 / 357.4 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.09942, allocations: 8 kB / 357.4 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.09943, allocations: 7.984 kB / 357.4 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.09944, allocations: 3.938 kB / 357.4 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/0.09965, allocations: 199.4 kB / 357.6 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.307e-05/0.0997, allocations: 85.06 kB / 357.7 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.09973, allocations: 7.984 kB / 357.7 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.626e-05/0.09981, allocations: 0 / 357.7 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.459e-05/0.09983, allocations: 11.88 kB / 357.7 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.09984, allocations: 8 kB / 357.7 MB, free: 13.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.695e-05/0.09989, allocations: 99.64 kB / 357.8 MB, free: 13.06 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.0999, allocations: 0 / 357.8 MB, free: 13.06 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002366/0.1001, allocations: 27.94 kB / 357.8 MB, free: 13.03 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 (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 8.834e-05/0.1002, allocations: 99.19 kB / 357.9 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001289/0.1004, allocations: 63.91 kB / 358 MB, free: 12.86 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1004, allocations: 0 / 358 MB, free: 12.86 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.958e-05/0.1004, allocations: 24 kB / 358 MB, free: 12.84 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.1007, allocations: 24.39 kB / 358 MB, free: 12.82 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006471/0.1014, allocations: 426.7 kB / 358.4 MB, free: 12.37 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.1016, allocations: 0.6962 MB / 359.1 MB, free: 11.64 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.512e-05/0.1017, allocations: 16.41 kB / 359.2 MB, free: 11.63 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.594e-05/0.1017, allocations: 11.44 kB / 359.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1017, allocations: 0 / 359.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of Templates: time 0.002987/0.1047, allocations: 0.9179 MB / 360.1 MB, free: 10.72 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches