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.001416/0.001416, allocations: 104.9 kB / 16.92 MB, free: 6.145 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.001571/0.001571, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.32/1.32, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009526/0.0009527, allocations: 47.72 kB / 300.6 MB, free: 5.887 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0952/0.09617, allocations: 49.45 MB / 350.1 MB, free: 4.43 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003582/0.09979, allocations: 1.768 MB / 351.8 MB, free: 2.645 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.1011, allocations: 0.6388 MB / 352.5 MB, free: 2 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.1013, allocations: 4 kB / 352.5 MB, free: 1.996 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001516/0.1015, allocations: 23.73 kB / 352.5 MB, free: 1.973 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.1016, allocations: 31.7 kB / 352.5 MB, free: 1.941 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003599/0.1019, allocations: 47.81 kB / 352.6 MB, free: 1.895 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000264/0.1022, allocations: 123.4 kB / 352.7 MB, free: 1.773 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001942/0.1024, allocations: 41.38 kB / 352.7 MB, free: 1.727 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.1025, allocations: 35.92 kB / 352.8 MB, free: 1.691 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.1027, allocations: 47.78 kB / 352.8 MB, free: 1.645 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.1027, allocations: 8 kB / 352.8 MB, free: 1.637 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.1028, allocations: 27.98 kB / 352.8 MB, free: 1.609 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.781e-05/0.1029, allocations: 23.84 kB / 352.9 MB, free: 1.586 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.191e-05/0.103, allocations: 59.67 kB / 352.9 MB, free: 1.527 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002401/0.1032, allocations: 123.9 kB / 353 MB, free: 1.406 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.85e-06/0.1032, allocations: 4 kB / 353 MB, free: 1.402 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.1032, allocations: 0 / 353 MB, free: 1.402 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.437e-06/0.1033, allocations: 0 / 353 MB, free: 1.402 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.0007242/0.104, allocations: 411.3 kB / 353.4 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/0.104, allocations: 11.89 kB / 353.5 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002644/0.1043, allocations: 24.83 kB / 353.5 MB, free: 0.918 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.1046, allocations: 200.1 kB / 353.7 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.1046, allocations: 8.5 kB / 353.7 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.965e-05/0.1047, allocations: 12.28 kB / 353.7 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.1049, allocations: 93.59 kB / 353.8 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.1049, allocations: 4 kB / 353.8 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.1049, allocations: 0 / 353.8 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.1049, allocations: 4 kB / 353.8 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.1051, allocations: 63.95 kB / 353.9 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007752/0.1059, allocations: 455.5 kB / 354.3 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/0.1062, allocations: 106.5 kB / 354.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.694e-05/0.1062, allocations: 36.84 kB / 354.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.1063, allocations: 0 / 354.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.1063, allocations: 38.56 kB / 354.5 MB, free: 15.79 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.1063, allocations: 0 / 354.5 MB, free: 15.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001384/0.1077, allocations: 0.5241 MB / 355 MB, free: 15.2 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.1077, allocations: 55.41 kB / 355.1 MB, free: 15.13 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.688e-05/0.1078, allocations: 125.9 kB / 355.2 MB, free: 15 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.1079, allocations: 25.7 kB / 355.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.738e-05/0.108, allocations: 107.8 kB / 355.3 MB, free: 14.86 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.519e-05/0.108, allocations: 39.36 kB / 355.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.76e-05/0.1081, allocations: 45.7 kB / 355.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.1082, allocations: 314.8 kB / 355.7 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.122e-05/0.1083, allocations: 27.98 kB / 355.7 MB, free: 14.42 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.642e-05/0.1083, allocations: 59.33 kB / 355.8 MB, free: 14.35 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.1085, allocations: 100.2 kB / 355.9 MB, free: 14.24 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1085, allocations: 0 / 355.9 MB, free: 14.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001935/0.1087, allocations: 133.4 kB / 356 MB, free: 14.11 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1087, allocations: 4 kB / 356 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.1087, allocations: 4 kB / 356 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.1087, allocations: 0 / 356 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.1089, allocations: 35.92 kB / 356.1 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.1089, allocations: 7.938 kB / 356.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.726e-05/0.109, allocations: 3.938 kB / 356.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.109, allocations: 7.984 kB / 356.1 MB, free: 14.04 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.965e-05/0.1091, allocations: 125.9 kB / 356.2 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.696e-05/0.1091, allocations: 11.89 kB / 356.2 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.081e-05/0.1092, allocations: 12.38 kB / 356.2 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.1092, allocations: 4 kB / 356.2 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1092, allocations: 0 / 356.2 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1092, allocations: 3.938 kB / 356.2 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006016/0.1098, allocations: 428.1 kB / 356.7 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1098, allocations: 0 / 356.7 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.11, allocations: 35.98 kB / 356.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.11, allocations: 3.938 kB / 356.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.11, allocations: 0 / 356.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.11, allocations: 7.938 kB / 356.7 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.11, allocations: 7.922 kB / 356.7 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002954/0.1103, allocations: 245.3 kB / 356.9 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.298e-05/0.1104, allocations: 89.16 kB / 357 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.1104, allocations: 3.938 kB / 357 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.613e-05/0.1105, allocations: 8.016 kB / 357 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.559e-05/0.1105, allocations: 11.94 kB / 357.1 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.1106, allocations: 4 kB / 357.1 MB, free: 12.95 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.344e-05/0.1106, allocations: 99.52 kB / 357.2 MB, free: 12.85 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1106, allocations: 4 kB / 357.2 MB, free: 12.85 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002533/0.1109, allocations: 24 kB / 357.2 MB, free: 12.82 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.0001121/0.111, allocations: 103.2 kB / 357.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001824/0.1112, allocations: 95.78 kB / 357.4 MB, free: 12.62 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1112, allocations: 0 / 357.4 MB, free: 12.62 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.852e-05/0.1113, allocations: 39.92 kB / 357.4 MB, free: 12.58 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004549/0.1117, allocations: 27.03 kB / 357.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007756/0.1125, allocations: 456.3 kB / 357.9 MB, free: 12.08 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.1128, allocations: 0.7002 MB / 358.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.25e-05/0.1128, allocations: 16.88 kB / 358.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.456e-05/0.1129, allocations: 11.44 kB / 358.6 MB, free: 11.33 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1129, allocations: 0 / 358.6 MB, free: 11.33 MB / 302.1 MB Notification: Performance of Templates: time 0.003503/0.1164, allocations: 1.101 MB / 359.7 MB, free: 10.24 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins/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