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.0009841/0.0009844, allocations: 90.06 kB / 16.65 MB, free: 6.59 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.001104/0.001104, allocations: 181.8 kB / 17.56 MB, free: 6.203 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.374/1.374, allocations: 223.3 MB / 241.6 MB, free: 200 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002894/0.0002894, allocations: 11.94 kB / 301.4 MB, free: 6.145 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09201/0.09232, allocations: 50.42 MB / 351.8 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002152/0.09452, allocations: 1.481 MB / 353.3 MB, free: 2.223 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.09579, allocations: 0.627 MB / 353.9 MB, free: 1.594 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001427/0.09597, allocations: 0 / 353.9 MB, free: 1.594 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001558/0.09614, allocations: 19.86 kB / 354 MB, free: 1.574 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001458/0.09629, allocations: 27.77 kB / 354 MB, free: 1.547 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000319/0.09663, allocations: 35.89 kB / 354 MB, free: 1.512 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002573/0.0969, allocations: 115.4 kB / 354.1 MB, free: 1.398 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.09708, allocations: 23.89 kB / 354.2 MB, free: 1.375 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.803e-05/0.09719, allocations: 47.78 kB / 354.2 MB, free: 1.328 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.0973, allocations: 39.8 kB / 354.2 MB, free: 1.289 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.09733, allocations: 4 kB / 354.2 MB, free: 1.285 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.975e-05/0.09743, allocations: 27.98 kB / 354.3 MB, free: 1.258 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.318e-05/0.09746, allocations: 15.92 kB / 354.3 MB, free: 1.242 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.571e-05/0.09754, allocations: 65.5 kB / 354.3 MB, free: 1.172 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.09775, allocations: 127.8 kB / 354.5 MB, free: 1.047 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.09777, allocations: 0 / 354.5 MB, free: 1.047 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.09778, allocations: 0 / 354.5 MB, free: 1.047 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.09779, allocations: 0 / 354.5 MB, free: 1.047 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.0005034/0.09829, allocations: 387.4 kB / 354.9 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.09834, allocations: 12.03 kB / 354.9 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002052/0.09855, allocations: 20.83 kB / 354.9 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.09877, allocations: 196.2 kB / 355.1 MB, free: 368 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.09879, allocations: 4.562 kB / 355.1 MB, free: 364 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.155e-05/0.09883, allocations: 16.3 kB / 355.1 MB, free: 348 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.09904, allocations: 100.4 kB / 355.2 MB, free: 244 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.09906, allocations: 7.938 kB / 355.2 MB, free: 236 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.09908, allocations: 3.984 kB / 355.2 MB, free: 232 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.0991, allocations: 4 kB / 355.2 MB, free: 228 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.09923, allocations: 55.97 kB / 355.3 MB, free: 172 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008611/0.1001, allocations: 485.1 kB / 355.7 MB, free: 15.63 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002673/0.1004, allocations: 86.58 kB / 355.8 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.346e-05/0.1004, allocations: 28.89 kB / 355.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.1005, allocations: 3.938 kB / 355.9 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.1005, allocations: 34.5 kB / 355.9 MB, free: 15.46 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.784e-06/0.1005, allocations: 0 / 355.9 MB, free: 15.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002509/0.1008, allocations: 97.83 kB / 356 MB, free: 15.36 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.1008, allocations: 55.34 kB / 356 MB, free: 15.29 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.1009, allocations: 129.7 kB / 356.2 MB, free: 15.15 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.101, allocations: 25.7 kB / 356.2 MB, free: 15.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.1011, allocations: 107.9 kB / 356.3 MB, free: 15.01 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.1011, allocations: 31.55 kB / 356.3 MB, free: 14.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.332e-05/0.1012, allocations: 17.72 kB / 356.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.1013, allocations: 318.8 kB / 356.7 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.454e-05/0.1013, allocations: 16 kB / 356.7 MB, free: 14.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.918e-05/0.1014, allocations: 63.36 kB / 356.7 MB, free: 14.55 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.1015, allocations: 75.36 kB / 356.8 MB, free: 14.46 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1015, allocations: 0 / 356.8 MB, free: 14.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001897/0.1017, allocations: 113.5 kB / 356.9 MB, free: 14.34 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.1017, allocations: 4 kB / 356.9 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.1018, allocations: 7.938 kB / 356.9 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.1018, allocations: 0 / 356.9 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.1019, allocations: 23.98 kB / 357 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.1019, allocations: 7.938 kB / 357 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.547e-05/0.102, allocations: 7.938 kB / 357 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.102, allocations: 4.312 kB / 357 MB, free: 14.29 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 9.906e-05/0.1021, allocations: 129.8 kB / 357.1 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/0.1021, allocations: 7.906 kB / 357.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.118e-05/0.1022, allocations: 16.36 kB / 357.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1022, allocations: 96 / 357.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1022, allocations: 7.875 kB / 357.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.1022, allocations: 0 / 357.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.1024, allocations: 201.5 kB / 357.3 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1024, allocations: 0 / 357.3 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.1025, allocations: 16 kB / 357.3 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.1026, allocations: 4 kB / 357.3 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.1026, allocations: 8 kB / 357.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.1026, allocations: 4 kB / 357.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.1026, allocations: 7.922 kB / 357.4 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.1028, allocations: 203.4 kB / 357.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.055e-05/0.1029, allocations: 85.14 kB / 357.6 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.1029, allocations: 4 kB / 357.6 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.66e-05/0.103, allocations: 0 / 357.6 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.937e-05/0.103, allocations: 12.02 kB / 357.7 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-06/0.103, allocations: 4 kB / 357.7 MB, free: 13.5 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.656e-05/0.1031, allocations: 95.27 kB / 357.8 MB, free: 13.4 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1031, allocations: 0 / 357.8 MB, free: 13.4 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002495/0.1033, allocations: 31.84 kB / 357.8 MB, free: 13.37 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 0.0001136/0.1035, allocations: 103.2 kB / 357.9 MB, free: 13.26 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001587/0.1036, allocations: 59.92 kB / 357.9 MB, free: 13.2 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1036, allocations: 0 / 357.9 MB, free: 13.2 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.305e-05/0.1037, allocations: 32.12 kB / 358 MB, free: 13.17 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.1041, allocations: 19.36 kB / 358 MB, free: 13.16 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000883/0.105, allocations: 0.5281 MB / 358.5 MB, free: 12.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.1053, allocations: 0.7004 MB / 359.2 MB, free: 11.87 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.889e-05/0.1054, allocations: 8.438 kB / 359.2 MB, free: 11.86 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.316e-05/0.1054, allocations: 11.44 kB / 359.2 MB, free: 11.85 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1054, allocations: 0 / 359.2 MB, free: 11.85 MB / 302.1 MB Notification: Performance of Templates: time 0.003709/0.1091, allocations: 0.8616 MB / 360.1 MB, free: 11 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins/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