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.001149/0.001149, allocations: 109.2 kB / 17.17 MB, free: 6.32 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.001092/0.001092, allocations: 194.9 kB / 18.08 MB, free: 5.41 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.431/1.431, allocations: 222.9 MB / 241.8 MB, free: 15.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 41.5 kB / 300.6 MB, free: 6.328 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1052, allocations: 49.44 MB / 350 MB, free: 4.875 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003478/0.1087, allocations: 1.848 MB / 351.9 MB, free: 3.012 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.1099, allocations: 0.6233 MB / 352.5 MB, free: 2.383 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.11, allocations: 4 kB / 352.5 MB, free: 2.379 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000141/0.1102, allocations: 11.86 kB / 352.5 MB, free: 2.367 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.565e-05/0.1103, allocations: 31.75 kB / 352.6 MB, free: 2.336 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000245/0.1105, allocations: 47.88 kB / 352.6 MB, free: 2.289 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.1107, allocations: 119.4 kB / 352.7 MB, free: 2.172 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.1108, allocations: 25.23 kB / 352.8 MB, free: 2.141 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.492e-05/0.1109, allocations: 35.88 kB / 352.8 MB, free: 2.105 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.772e-05/0.111, allocations: 47.77 kB / 352.8 MB, free: 2.059 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.1111, allocations: 8 kB / 352.8 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.145e-05/0.1112, allocations: 27.98 kB / 352.9 MB, free: 2.023 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.478e-05/0.1112, allocations: 15.92 kB / 352.9 MB, free: 2.008 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.803e-05/0.1113, allocations: 51.8 kB / 352.9 MB, free: 1.957 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.1114, allocations: 92.08 kB / 353 MB, free: 1.867 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.1114, allocations: 0 / 353 MB, free: 1.867 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1115, allocations: 0 / 353 MB, free: 1.867 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.475e-06/0.1115, allocations: 0 / 353 MB, free: 1.867 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.0006031/0.1121, allocations: 415.2 kB / 353.4 MB, free: 1.414 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.1121, allocations: 8.031 kB / 353.4 MB, free: 1.406 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002168/0.1123, allocations: 28.83 kB / 353.5 MB, free: 1.379 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.1126, allocations: 196.2 kB / 353.7 MB, free: 1.148 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.1126, allocations: 8.562 kB / 353.7 MB, free: 1.141 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.391e-05/0.1126, allocations: 12.28 kB / 353.7 MB, free: 1.129 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.1128, allocations: 100.9 kB / 353.8 MB, free: 1.027 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.1128, allocations: 3.984 kB / 353.8 MB, free: 1.023 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.1129, allocations: 4 kB / 353.8 MB, free: 1.02 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.82e-06/0.1129, allocations: 4 kB / 353.8 MB, free: 1.016 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.113, allocations: 55.97 kB / 353.8 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007086/0.1137, allocations: 455.5 kB / 354.3 MB, free: 468 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/0.114, allocations: 98.58 kB / 354.4 MB, free: 360 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.428e-05/0.1141, allocations: 44.78 kB / 354.4 MB, free: 312 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.1141, allocations: 4 kB / 354.4 MB, free: 308 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.1141, allocations: 38.5 kB / 354.5 MB, free: 260 kB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.1142, allocations: 4 kB / 354.5 MB, free: 256 kB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.001389/0.1155, allocations: 0.5188 MB / 355 MB, free: 15.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.1156, allocations: 55.41 kB / 355 MB, free: 15.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.1157, allocations: 133.2 kB / 355.2 MB, free: 15.45 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.1157, allocations: 29.64 kB / 355.2 MB, free: 15.42 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.387e-05/0.1158, allocations: 111.7 kB / 355.3 MB, free: 15.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.1159, allocations: 43.45 kB / 355.4 MB, free: 15.26 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.106e-05/0.1159, allocations: 29.72 kB / 355.4 MB, free: 15.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.116, allocations: 318.8 kB / 355.7 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.654e-05/0.1161, allocations: 27.98 kB / 355.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.186e-05/0.1162, allocations: 59.33 kB / 355.8 MB, free: 14.81 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.1163, allocations: 103.4 kB / 355.9 MB, free: 14.7 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1163, allocations: 0 / 355.9 MB, free: 14.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002074/0.1165, allocations: 130.3 kB / 356 MB, free: 14.56 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1166, allocations: 4 kB / 356 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.1166, allocations: 7.938 kB / 356 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1166, allocations: 0 / 356 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.1167, allocations: 27.98 kB / 356 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1168, allocations: 4 kB / 356.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.494e-05/0.1168, allocations: 12 kB / 356.1 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.1169, allocations: 8 kB / 356.1 MB, free: 14.5 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 9.513e-05/0.117, allocations: 125.7 kB / 356.2 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.691e-05/0.117, allocations: 7.906 kB / 356.2 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.507e-05/0.1171, allocations: 16.36 kB / 356.2 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.1171, allocations: 4 kB / 356.2 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.1171, allocations: 0 / 356.2 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.1171, allocations: 7.969 kB / 356.2 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005242/0.1176, allocations: 424.1 kB / 356.6 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1176, allocations: 0 / 356.6 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.1178, allocations: 28.08 kB / 356.7 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.1178, allocations: 7.875 kB / 356.7 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.1178, allocations: 4 kB / 356.7 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.1178, allocations: 0 / 356.7 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1178, allocations: 0 / 356.7 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002913/0.1181, allocations: 261 kB / 356.9 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.148e-05/0.1182, allocations: 85.02 kB / 357 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.1182, allocations: 3.938 kB / 357 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.1183, allocations: 8 kB / 357 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.714e-05/0.1184, allocations: 8.031 kB / 357 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.1184, allocations: 8 kB / 357 MB, free: 13.41 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.431e-05/0.1184, allocations: 91.27 kB / 357.1 MB, free: 13.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1184, allocations: 0 / 357.1 MB, free: 13.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.1187, allocations: 28 kB / 357.2 MB, free: 13.29 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.000117/0.1188, allocations: 107.1 kB / 357.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001749/0.119, allocations: 84.06 kB / 357.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.119, allocations: 0 / 357.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.995e-05/0.1191, allocations: 44.05 kB / 357.4 MB, free: 13.05 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004081/0.1195, allocations: 22.67 kB / 357.4 MB, free: 13.03 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008285/0.1203, allocations: 0.5116 MB / 357.9 MB, free: 12.48 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.1206, allocations: 0.7004 MB / 358.6 MB, free: 11.76 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.079e-05/0.1207, allocations: 15.44 kB / 358.6 MB, free: 11.74 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1207, allocations: 0 / 358.6 MB, free: 11.74 MB / 302.1 MB Notification: Performance of Templates: time 0.00329/0.124, allocations: 1.407 MB / 360.1 MB, free: 10.34 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/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