Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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.00129/0.00129, allocations: 112.5 kB / 18.36 MB, free: 4.84 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.001317/0.001316, allocations: 184.5 kB / 19.29 MB, free: 3.918 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.469/1.469, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001219/0.001219, allocations: 59.92 kB / 329.1 MB, free: 3.352 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09441/0.09564, allocations: 46.61 MB / 375.7 MB, free: 4.629 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003325/0.09902, allocations: 1.764 MB / 377.5 MB, free: 2.855 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.1003, allocations: 0.6902 MB / 378.2 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.1005, allocations: 7.938 kB / 378.2 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001305/0.1006, allocations: 11.86 kB / 378.2 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.057e-05/0.1007, allocations: 31.7 kB / 378.2 MB, free: 2.105 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002413/0.1009, allocations: 51.81 kB / 378.3 MB, free: 2.055 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001721/0.1011, allocations: 123.4 kB / 378.4 MB, free: 1.934 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.1012, allocations: 25.39 kB / 378.4 MB, free: 1.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.305e-05/0.1013, allocations: 51.78 kB / 378.5 MB, free: 1.859 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.942e-05/0.1014, allocations: 47.72 kB / 378.5 MB, free: 1.812 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.1014, allocations: 8 kB / 378.5 MB, free: 1.805 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.547e-05/0.1015, allocations: 28 kB / 378.6 MB, free: 1.777 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.432e-05/0.1016, allocations: 19.92 kB / 378.6 MB, free: 1.758 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.92e-05/0.1016, allocations: 55.73 kB / 378.6 MB, free: 1.703 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.1018, allocations: 131.6 kB / 378.8 MB, free: 1.574 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1019, allocations: 3.938 kB / 378.8 MB, free: 1.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1019, allocations: 0 / 378.8 MB, free: 1.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.1019, allocations: 4 kB / 378.8 MB, free: 1.566 MB / 318.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.000559/0.1024, allocations: 399.4 kB / 379.2 MB, free: 1.129 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.1025, allocations: 15.89 kB / 379.2 MB, free: 1.113 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001859/0.1027, allocations: 28.73 kB / 379.2 MB, free: 1.086 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.1029, allocations: 200.1 kB / 379.4 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.103, allocations: 4.562 kB / 379.4 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.326e-05/0.103, allocations: 8.375 kB / 379.4 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.1032, allocations: 97.59 kB / 379.5 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.1032, allocations: 0 / 379.5 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.1032, allocations: 0 / 379.5 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1032, allocations: 4 kB / 379.5 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.1034, allocations: 63.91 kB / 379.6 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006399/0.104, allocations: 451.6 kB / 380 MB, free: 180 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/0.1043, allocations: 102.6 kB / 380.1 MB, free: 68 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.359e-05/0.1044, allocations: 32.84 kB / 380.2 MB, free: 32 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.1044, allocations: 4 kB / 380.2 MB, free: 28 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.188/0.2924, allocations: 38.55 kB / 380.2 MB, free: 13.17 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 4.007e-06/0.2925, allocations: 0 / 380.2 MB, free: 13.17 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001426/0.2939, allocations: 0.5238 MB / 380.7 MB, free: 12.84 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.2939, allocations: 52.78 kB / 380.8 MB, free: 12.77 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.319e-05/0.294, allocations: 129.2 kB / 380.9 MB, free: 12.67 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.868e-06/0.294, allocations: 25.7 kB / 380.9 MB, free: 12.64 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.467e-05/0.2941, allocations: 109.1 kB / 381 MB, free: 12.55 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.2941, allocations: 44.84 kB / 381.1 MB, free: 12.53 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.658e-05/0.2942, allocations: 31.28 kB / 381.1 MB, free: 12.51 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.874e-05/0.2942, allocations: 319.8 kB / 381.4 MB, free: 12.2 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.163e-05/0.2943, allocations: 32.52 kB / 381.5 MB, free: 12.2 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.362e-05/0.2944, allocations: 62.75 kB / 381.5 MB, free: 12.17 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.2945, allocations: 96.11 kB / 381.6 MB, free: 12.14 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.2945, allocations: 0 / 381.6 MB, free: 12.14 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001876/0.2947, allocations: 127.5 kB / 381.7 MB, free: 12.1 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.2947, allocations: 7.141 kB / 381.7 MB, free: 12.1 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.2947, allocations: 4.469 kB / 381.7 MB, free: 12.1 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.2948, allocations: 6.094 kB / 381.8 MB, free: 12.1 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.2949, allocations: 35.67 kB / 381.8 MB, free: 12.1 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.2949, allocations: 5.375 kB / 381.8 MB, free: 12.1 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.72e-05/0.295, allocations: 1.375 kB / 381.8 MB, free: 12.1 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.295, allocations: 7.375 kB / 381.8 MB, free: 12.1 MB / 318.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 6.864e-05/0.2951, allocations: 121.9 kB / 381.9 MB, free: 11.98 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.2951, allocations: 11.67 kB / 381.9 MB, free: 11.98 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.701e-05/0.2952, allocations: 14.34 kB / 381.9 MB, free: 11.98 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2952, allocations: 0.75 kB / 381.9 MB, free: 11.98 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.2952, allocations: 2.219 kB / 381.9 MB, free: 11.98 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2952, allocations: 0.7031 kB / 381.9 MB, free: 11.98 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004907/0.2957, allocations: 437 kB / 382.4 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2957, allocations: 2.828 kB / 382.4 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.2959, allocations: 28.31 kB / 382.4 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.2959, allocations: 1.219 kB / 382.4 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.2959, allocations: 5.625 kB / 382.4 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.2959, allocations: 6.141 kB / 382.4 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2959, allocations: 3.375 kB / 382.4 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.2962, allocations: 248.7 kB / 382.7 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.716e-05/0.2962, allocations: 85.98 kB / 382.7 MB, free: 11.41 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.2962, allocations: 5.422 kB / 382.8 MB, free: 11.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.001e-05/0.2963, allocations: 5.344 kB / 382.8 MB, free: 11.41 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/0.2964, allocations: 17.52 kB / 382.8 MB, free: 11.4 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.2964, allocations: 3.812 kB / 382.8 MB, free: 11.4 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.626e-05/0.2964, allocations: 99.83 kB / 382.9 MB, free: 11.32 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2964, allocations: 0 / 382.9 MB, free: 11.32 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002499/0.2967, allocations: 25.31 kB / 382.9 MB, free: 11.32 MB / 318.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.27e-05/0.2968, allocations: 97.81 kB / 383 MB, free: 11.23 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001799/0.297, allocations: 83.06 kB / 383.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.297, allocations: 1.375 kB / 383.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.603e-05/0.297, allocations: 41.47 kB / 383.1 MB, free: 11.22 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.2974, allocations: 23.39 kB / 383.1 MB, free: 11.22 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007457/0.2981, allocations: 479.3 kB / 383.6 MB, free: 10.9 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001321/0.2983, allocations: 0.7055 MB / 384.3 MB, free: 10.21 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.487e-05/0.2983, allocations: 12.94 kB / 384.3 MB, free: 10.2 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2983, allocations: 1.375 kB / 384.3 MB, free: 10.2 MB / 318.1 MB Notification: Performance of Templates: time 0.0036/0.3019, allocations: 1.419 MB / 385.8 MB, free: 10.11 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches