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.001106/0.001106, allocations: 108.4 kB / 18.36 MB, free: 4.77 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.001221/0.001221, allocations: 191 kB / 19.29 MB, free: 3.848 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.314/1.314, allocations: 205.1 MB / 225.2 MB, free: 12.27 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.0012/0.0012, allocations: 51.92 kB / 282.1 MB, free: 2.469 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08462/0.08583, allocations: 46.63 MB / 328.7 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002809/0.08868, allocations: 1.754 MB / 330.5 MB, free: 1.992 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009546/0.08965, allocations: 0.6756 MB / 331.2 MB, free: 1.309 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.06e-05/0.08974, allocations: 4 kB / 331.2 MB, free: 1.305 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.08986, allocations: 15.8 kB / 331.2 MB, free: 1.289 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.69e-05/0.08994, allocations: 39.64 kB / 331.2 MB, free: 1.25 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002153/0.09016, allocations: 51.81 kB / 331.3 MB, free: 1.199 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.09033, allocations: 123.4 kB / 331.4 MB, free: 1.078 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.09045, allocations: 23.98 kB / 331.4 MB, free: 1.055 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.455e-05/0.09051, allocations: 47.84 kB / 331.5 MB, free: 1.008 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.211e-05/0.09061, allocations: 43.78 kB / 331.5 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/0.09064, allocations: 8 kB / 331.5 MB, free: 0.957 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.781e-05/0.09072, allocations: 27.92 kB / 331.5 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.19e-05/0.09075, allocations: 19.92 kB / 331.6 MB, free: 0.9102 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.747e-05/0.09081, allocations: 55.73 kB / 331.6 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.091, allocations: 119.7 kB / 331.7 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.09101, allocations: 4 kB / 331.7 MB, free: 0.7344 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.09102, allocations: 0 / 331.7 MB, free: 0.7344 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.09103, allocations: 0 / 331.7 MB, free: 0.7344 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.0005048/0.09154, allocations: 411.2 kB / 332.1 MB, free: 292 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.09158, allocations: 11.89 kB / 332.1 MB, free: 280 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001868/0.09177, allocations: 28.81 kB / 332.2 MB, free: 252 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.09198, allocations: 192.2 kB / 332.4 MB, free: 20 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.092, allocations: 8.562 kB / 332.4 MB, free: 12 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.684e-05/0.09205, allocations: 16.42 kB / 332.4 MB, free: 15.99 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.09223, allocations: 93.53 kB / 332.5 MB, free: 15.9 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.09225, allocations: 8 kB / 332.5 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.09226, allocations: 0 / 332.5 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.09227, allocations: 0 / 332.5 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.09239, allocations: 55.97 kB / 332.5 MB, free: 15.84 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006866/0.09309, allocations: 485.1 kB / 333 MB, free: 15.3 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002377/0.09334, allocations: 86.52 kB / 333.1 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.491e-05/0.09339, allocations: 28.89 kB / 333.1 MB, free: 15.17 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.09341, allocations: 0 / 333.1 MB, free: 15.17 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.09344, allocations: 42.56 kB / 333.2 MB, free: 15.12 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.09344, allocations: 0 / 333.2 MB, free: 15.12 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002164/0.09366, allocations: 101.7 kB / 333.3 MB, free: 15.02 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.0937, allocations: 55.34 kB / 333.3 MB, free: 14.95 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.096e-05/0.09379, allocations: 121.8 kB / 333.4 MB, free: 14.82 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.09381, allocations: 25.7 kB / 333.5 MB, free: 14.79 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.224e-05/0.09387, allocations: 107.9 kB / 333.6 MB, free: 14.68 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.0939, allocations: 35.55 kB / 333.6 MB, free: 14.64 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.383e-05/0.09395, allocations: 25.66 kB / 333.6 MB, free: 14.61 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.644e-05/0.09405, allocations: 326.8 kB / 333.9 MB, free: 14.29 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.262e-05/0.0941, allocations: 20 kB / 334 MB, free: 14.27 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.978e-05/0.09416, allocations: 51.42 kB / 334 MB, free: 14.2 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.09428, allocations: 79.36 kB / 334.1 MB, free: 14.11 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.09428, allocations: 0 / 334.1 MB, free: 14.11 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001579/0.09445, allocations: 113.5 kB / 334.2 MB, free: 14 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.09447, allocations: 4 kB / 334.2 MB, free: 13.99 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.09448, allocations: 3.938 kB / 334.2 MB, free: 13.99 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.09449, allocations: 4 kB / 334.2 MB, free: 13.98 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.09461, allocations: 27.98 kB / 334.2 MB, free: 13.96 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.09463, allocations: 7.875 kB / 334.3 MB, free: 13.95 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.985e-05/0.0947, allocations: 11.84 kB / 334.3 MB, free: 13.94 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.09471, allocations: 12.09 kB / 334.3 MB, free: 13.93 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 7.835e-05/0.0948, allocations: 113.8 kB / 334.4 MB, free: 13.8 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.09483, allocations: 4 kB / 334.4 MB, free: 13.8 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.58e-05/0.09487, allocations: 16.36 kB / 334.4 MB, free: 13.79 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.09488, allocations: 0 / 334.4 MB, free: 13.79 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.09489, allocations: 7.938 kB / 334.4 MB, free: 13.78 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.0949, allocations: 3.984 kB / 334.4 MB, free: 13.77 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/0.09509, allocations: 197.5 kB / 334.6 MB, free: 13.53 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.0951, allocations: 3.984 kB / 334.6 MB, free: 13.53 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/0.09523, allocations: 20 kB / 334.6 MB, free: 13.51 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.09525, allocations: 4 kB / 334.6 MB, free: 13.5 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.09526, allocations: 7.938 kB / 334.6 MB, free: 13.5 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.09527, allocations: 0 / 334.6 MB, free: 13.5 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.09528, allocations: 4.031 kB / 334.6 MB, free: 13.49 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.0955, allocations: 199.8 kB / 334.8 MB, free: 13.28 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.085e-05/0.09555, allocations: 89.05 kB / 334.9 MB, free: 13.18 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.09557, allocations: 0 / 334.9 MB, free: 13.18 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.102e-05/0.09566, allocations: 12 kB / 334.9 MB, free: 13.16 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.795e-05/0.09568, allocations: 3.938 kB / 334.9 MB, free: 13.16 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-06/0.09569, allocations: 4 kB / 335 MB, free: 13.16 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.687e-05/0.09575, allocations: 95.2 kB / 335 MB, free: 13.06 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09575, allocations: 0 / 335 MB, free: 13.06 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002492/0.09601, allocations: 27.94 kB / 335.1 MB, free: 13.04 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 0.0001023/0.09611, allocations: 99.19 kB / 335.2 MB, free: 12.93 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001492/0.09627, allocations: 67.97 kB / 335.2 MB, free: 12.86 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.09629, allocations: 4 kB / 335.2 MB, free: 12.86 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.052e-05/0.09633, allocations: 27.94 kB / 335.3 MB, free: 12.83 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.09665, allocations: 15.98 kB / 335.3 MB, free: 12.81 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006589/0.09732, allocations: 427 kB / 335.7 MB, free: 12.36 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.09757, allocations: 0.7002 MB / 336.4 MB, free: 11.64 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.612e-05/0.09763, allocations: 8.422 kB / 336.4 MB, free: 11.63 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/0.09766, allocations: 11.44 kB / 336.4 MB, free: 11.62 MB / 286.1 MB Notification: Performance of SimCode: time 2.6e-07/0.09767, allocations: 3.938 kB / 336.4 MB, free: 11.61 MB / 286.1 MB Notification: Performance of Templates: time 0.002827/0.1005, allocations: 0.9104 MB / 337.3 MB, free: 10.71 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 cvode -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