Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.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.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 111.1 kB / 17.68 MB, free: 5.352 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.001058/0.001058, allocations: 192 kB / 18.61 MB, free: 4.434 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.364/1.364, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 47.09 kB / 302 MB, free: 5.16 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09008/0.09128, allocations: 49.44 MB / 351.5 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003129/0.09444, allocations: 1.779 MB / 353.3 MB, free: 1.898 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.09556, allocations: 0.6466 MB / 353.9 MB, free: 1.246 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.632e-05/0.09568, allocations: 0 / 353.9 MB, free: 1.246 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001162/0.09581, allocations: 23.73 kB / 353.9 MB, free: 1.223 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.362e-05/0.09591, allocations: 31.7 kB / 354 MB, free: 1.191 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.09618, allocations: 51.81 kB / 354 MB, free: 1.141 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001895/0.09638, allocations: 119.4 kB / 354.1 MB, free: 1.023 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.09653, allocations: 29.39 kB / 354.2 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.871e-05/0.09661, allocations: 39.92 kB / 354.2 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.09672, allocations: 47.77 kB / 354.2 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.09675, allocations: 11.94 kB / 354.3 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.384e-05/0.09684, allocations: 20 kB / 354.3 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.638e-05/0.09688, allocations: 27.91 kB / 354.3 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.791e-05/0.09694, allocations: 51.73 kB / 354.4 MB, free: 0.793 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.09715, allocations: 135.6 kB / 354.5 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.09717, allocations: 0 / 354.5 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.09717, allocations: 0 / 354.5 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.09718, allocations: 0 / 354.5 MB, free: 0.6602 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.0005432/0.09773, allocations: 411.2 kB / 354.9 MB, free: 216 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.09778, allocations: 11.89 kB / 354.9 MB, free: 204 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001924/0.09798, allocations: 24.83 kB / 354.9 MB, free: 180 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.09825, allocations: 204.1 kB / 355.1 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.09827, allocations: 8.562 kB / 355.1 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.319e-05/0.09831, allocations: 12.28 kB / 355.1 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.0985, allocations: 96.78 kB / 355.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.09852, allocations: 4 kB / 355.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.09854, allocations: 4 kB / 355.2 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.09855, allocations: 0 / 355.2 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001533/0.09871, allocations: 59.97 kB / 355.3 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006893/0.09941, allocations: 455.5 kB / 355.8 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002703/0.09969, allocations: 110.5 kB / 355.9 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.584e-05/0.09976, allocations: 32.84 kB / 355.9 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.09977, allocations: 0 / 355.9 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.0998, allocations: 38.56 kB / 355.9 MB, free: 15.05 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.09981, allocations: 0 / 355.9 MB, free: 15.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001255/0.1011, allocations: 0.5273 MB / 356.5 MB, free: 14.45 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.1011, allocations: 51.41 kB / 356.5 MB, free: 14.39 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.31e-05/0.1012, allocations: 131.3 kB / 356.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.1012, allocations: 25.7 kB / 356.7 MB, free: 14.22 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.87e-05/0.1013, allocations: 107.8 kB / 356.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/0.1013, allocations: 47.36 kB / 356.8 MB, free: 14.06 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.72e-05/0.1014, allocations: 25.72 kB / 356.8 MB, free: 14.03 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.853e-05/0.1015, allocations: 326.8 kB / 357.2 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.393e-05/0.1016, allocations: 23.98 kB / 357.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.172e-05/0.1016, allocations: 67.27 kB / 357.2 MB, free: 13.6 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.1018, allocations: 103.4 kB / 357.3 MB, free: 13.49 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1018, allocations: 4 kB / 357.4 MB, free: 13.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001976/0.102, allocations: 129.5 kB / 357.5 MB, free: 13.35 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.102, allocations: 8 kB / 357.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.102, allocations: 0 / 357.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.102, allocations: 0 / 357.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.1022, allocations: 35.92 kB / 357.5 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.1022, allocations: 0 / 357.5 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.999e-05/0.1023, allocations: 7.938 kB / 357.5 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.1023, allocations: 8 kB / 357.5 MB, free: 13.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 (17): * Single equations (assignments): 17 * 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.665e-05/0.1024, allocations: 125.8 kB / 357.7 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/0.1024, allocations: 7.906 kB / 357.7 MB, free: 13.15 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.928e-05/0.1025, allocations: 12.38 kB / 357.7 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.1025, allocations: 4 kB / 357.7 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.1025, allocations: 3.984 kB / 357.7 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1025, allocations: 7.875 kB / 357.7 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005266/0.103, allocations: 428.1 kB / 358.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.103, allocations: 0 / 358.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.1032, allocations: 31.92 kB / 358.1 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.1032, allocations: 3.938 kB / 358.1 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.1032, allocations: 4 kB / 358.2 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1032, allocations: 0 / 358.2 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1032, allocations: 3.938 kB / 358.2 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.1035, allocations: 249.2 kB / 358.4 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.241e-05/0.1036, allocations: 85.02 kB / 358.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.1036, allocations: 3.938 kB / 358.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.28e-05/0.1037, allocations: 8 kB / 358.5 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.515e-05/0.1037, allocations: 11.97 kB / 358.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.1037, allocations: 0 / 358.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.083e-05/0.1038, allocations: 98.89 kB / 358.6 MB, free: 12.11 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1038, allocations: 0 / 358.6 MB, free: 12.11 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.1041, allocations: 28 kB / 358.6 MB, free: 12.09 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mass.s,mass.v,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 (12): * Single equations (assignments): 12 * 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.0001109/0.1042, allocations: 103.2 kB / 358.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001821/0.1044, allocations: 87.92 kB / 358.8 MB, free: 11.89 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1044, allocations: 0 / 358.8 MB, free: 11.89 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.045e-05/0.1045, allocations: 39.92 kB / 358.9 MB, free: 11.85 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.1048, allocations: 20.33 kB / 358.9 MB, free: 11.83 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007259/0.1055, allocations: 459.4 kB / 359.3 MB, free: 11.36 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.1058, allocations: 0.7004 MB / 360 MB, free: 10.63 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.068e-05/0.1059, allocations: 16.88 kB / 360 MB, free: 10.61 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.541e-05/0.1059, allocations: 11.44 kB / 360.1 MB, free: 10.6 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1059, allocations: 3.938 kB / 360.1 MB, free: 10.59 MB / 302.1 MB Notification: Performance of Templates: time 0.003424/0.1093, allocations: 1.102 MB / 361.2 MB, free: 9.504 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches