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.001506/0.001506, allocations: 111.2 kB / 17.68 MB, free: 5.332 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.001762/0.001762, allocations: 192 kB / 18.62 MB, free: 4.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.37/1.37, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001046/0.001046, allocations: 50.59 kB / 302 MB, free: 5.191 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08953/0.09059, allocations: 49.45 MB / 351.5 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003284/0.09392, allocations: 1.775 MB / 353.3 MB, free: 1.93 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000883/0.09482, allocations: 0.6388 MB / 353.9 MB, free: 1.285 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.57e-05/0.09491, allocations: 4 kB / 353.9 MB, free: 1.281 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001289/0.09505, allocations: 19.8 kB / 353.9 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.973e-05/0.09514, allocations: 43.62 kB / 354 MB, free: 1.219 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.09538, allocations: 43.81 kB / 354 MB, free: 1.176 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.09556, allocations: 123.4 kB / 354.1 MB, free: 1.055 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.09572, allocations: 29.33 kB / 354.2 MB, free: 1.02 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.743e-05/0.09578, allocations: 39.91 kB / 354.2 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.0959, allocations: 47.78 kB / 354.2 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.377e-05/0.09593, allocations: 8 kB / 354.3 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.214e-05/0.09603, allocations: 31.98 kB / 354.3 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.615e-05/0.09606, allocations: 19.92 kB / 354.3 MB, free: 0.875 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.992e-05/0.09613, allocations: 55.72 kB / 354.4 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002012/0.09633, allocations: 131.5 kB / 354.5 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.09635, allocations: 0 / 354.5 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.09635, allocations: 0 / 354.5 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.09637, allocations: 0 / 354.5 MB, free: 0.6914 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.0005413/0.09691, allocations: 415.3 kB / 354.9 MB, free: 244 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.09695, allocations: 11.89 kB / 354.9 MB, free: 232 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001809/0.09714, allocations: 24.83 kB / 354.9 MB, free: 208 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.0974, allocations: 192.4 kB / 355.1 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.09742, allocations: 8.562 kB / 355.1 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.034e-05/0.09746, allocations: 12.12 kB / 355.1 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.09764, allocations: 104.5 kB / 355.2 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.09766, allocations: 0 / 355.2 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.09768, allocations: 8 kB / 355.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.09769, allocations: 4 kB / 355.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.09782, allocations: 59.97 kB / 355.3 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006297/0.09846, allocations: 447.5 kB / 355.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002663/0.09874, allocations: 106.6 kB / 355.9 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.432e-05/0.09881, allocations: 32.8 kB / 355.9 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.09882, allocations: 4 kB / 355.9 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.09886, allocations: 34.56 kB / 355.9 MB, free: 15.09 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.09886, allocations: 0 / 355.9 MB, free: 15.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.00125/0.1001, allocations: 0.5273 MB / 356.5 MB, free: 14.49 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.1002, allocations: 55.41 kB / 356.5 MB, free: 14.43 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.228e-05/0.1003, allocations: 133.5 kB / 356.6 MB, free: 14.29 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.1003, allocations: 25.7 kB / 356.7 MB, free: 14.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.162e-05/0.1003, allocations: 115.8 kB / 356.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.1004, allocations: 39.44 kB / 356.8 MB, free: 14.1 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/0.1004, allocations: 29.7 kB / 356.8 MB, free: 14.06 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.8e-05/0.1005, allocations: 322.8 kB / 357.2 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.122e-05/0.1006, allocations: 28 kB / 357.2 MB, free: 13.71 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.567e-05/0.1007, allocations: 63.31 kB / 357.2 MB, free: 13.64 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.1008, allocations: 95.42 kB / 357.3 MB, free: 13.53 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1008, allocations: 3.938 kB / 357.3 MB, free: 13.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001862/0.101, allocations: 133.4 kB / 357.5 MB, free: 13.39 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.101, allocations: 8 kB / 357.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.101, allocations: 0 / 357.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.1011, allocations: 4 kB / 357.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.1012, allocations: 27.98 kB / 357.5 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1012, allocations: 4.062 kB / 357.5 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.953e-05/0.1013, allocations: 19.92 kB / 357.5 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.1013, allocations: 7.938 kB / 357.5 MB, free: 13.32 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.219e-05/0.1014, allocations: 121.8 kB / 357.7 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.211e-05/0.1015, allocations: 7.906 kB / 357.7 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.254e-05/0.1015, allocations: 16.38 kB / 357.7 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.1015, allocations: 0 / 357.7 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1015, allocations: 0 / 357.7 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1015, allocations: 3.938 kB / 357.7 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004986/0.102, allocations: 428.1 kB / 358.1 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1021, allocations: 0 / 358.1 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001514/0.1022, allocations: 27.98 kB / 358.1 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.1022, allocations: 3.938 kB / 358.1 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.1022, allocations: 8 kB / 358.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1023, allocations: 0 / 358.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1023, allocations: 7.875 kB / 358.2 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.1025, allocations: 241.2 kB / 358.4 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.859e-05/0.1026, allocations: 89.05 kB / 358.5 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.1026, allocations: 11.94 kB / 358.5 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.742e-05/0.1027, allocations: 0 / 358.5 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.972e-05/0.1027, allocations: 4 kB / 358.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.1028, allocations: 15.98 kB / 358.5 MB, free: 12.24 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.599e-05/0.1028, allocations: 91.22 kB / 358.6 MB, free: 12.15 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1028, allocations: 0 / 358.6 MB, free: 12.15 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002599/0.1031, allocations: 31.98 kB / 358.6 MB, free: 12.12 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 9.877e-05/0.1032, allocations: 95.25 kB / 358.7 MB, free: 12.02 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001727/0.1034, allocations: 80 kB / 358.8 MB, free: 11.94 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1034, allocations: 224 / 358.8 MB, free: 11.94 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.721e-05/0.1034, allocations: 51.86 kB / 358.8 MB, free: 11.89 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.1038, allocations: 20.06 kB / 358.9 MB, free: 11.87 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006972/0.1045, allocations: 463.2 kB / 359.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.1047, allocations: 0.708 MB / 360 MB, free: 10.65 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.365e-05/0.1048, allocations: 8.875 kB / 360 MB, free: 10.64 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.88e-05/0.1048, allocations: 11.44 kB / 360 MB, free: 10.63 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1048, allocations: 4 kB / 360.1 MB, free: 10.62 MB / 302.1 MB Notification: Performance of Templates: time 0.003276/0.1081, allocations: 1.096 MB / 361.1 MB, free: 9.539 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 cvode -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